release: permanently remove the 'reldoc' target and associates
Following 7b1d1a1658
, the structure
for the reldoc target has significantly changed as result of the
ASCIIDoctor/Hugo migration. As the release notes related files
on the installation medium are inherently out of date, purge them
entirely.
Discussed within: re, doceng
No objection: re (silence), doceng (silence)
Timeout: 2 weeks
MFC after: 1 week
MFC to: stable/13, stable/12, and stable/11 only
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
4f4065e0a2
commit
f61e92ca5a
@ -20,12 +20,10 @@
|
|||||||
# WORLDDIR: location of src tree -- must have built world and default kernel
|
# WORLDDIR: location of src tree -- must have built world and default kernel
|
||||||
# (by default, the directory above this one)
|
# (by default, the directory above this one)
|
||||||
# PORTSDIR: location of ports tree to distribute (default: /usr/ports)
|
# PORTSDIR: location of ports tree to distribute (default: /usr/ports)
|
||||||
# DOCDIR: location of doc tree (default: /usr/doc)
|
|
||||||
# XTRADIR: xtra-bits-dir argument for <arch>/mkisoimages.sh
|
# XTRADIR: xtra-bits-dir argument for <arch>/mkisoimages.sh
|
||||||
# NOPKG: if set, do not distribute third-party packages
|
# NOPKG: if set, do not distribute third-party packages
|
||||||
# NOPORTS: if set, do not distribute ports tree
|
# NOPORTS: if set, do not distribute ports tree
|
||||||
# NOSRC: if set, do not distribute source tree
|
# NOSRC: if set, do not distribute source tree
|
||||||
# NODOC: if set, do not generate release documentation
|
|
||||||
# WITH_DVD: if set, generate dvd1.iso
|
# WITH_DVD: if set, generate dvd1.iso
|
||||||
# WITH_COMPRESSED_IMAGES: if set, compress installation images with xz(1)
|
# WITH_COMPRESSED_IMAGES: if set, compress installation images with xz(1)
|
||||||
# (uncompressed images are not removed)
|
# (uncompressed images are not removed)
|
||||||
@ -38,7 +36,6 @@
|
|||||||
|
|
||||||
WORLDDIR?= ${.CURDIR}/..
|
WORLDDIR?= ${.CURDIR}/..
|
||||||
PORTSDIR?= /usr/ports
|
PORTSDIR?= /usr/ports
|
||||||
DOCDIR?= /usr/doc
|
|
||||||
RELNOTES_LANG?= en_US.ISO8859-1
|
RELNOTES_LANG?= en_US.ISO8859-1
|
||||||
|
|
||||||
.if !defined(TARGET) || empty(TARGET)
|
.if !defined(TARGET) || empty(TARGET)
|
||||||
@ -74,9 +71,6 @@ VOLUME_LABEL= ${REVISION:C/[.-]/_/g}_${BRANCH:C/[.-]/_/g}_${TARGET_ARCH}
|
|||||||
VOLUME_LABEL= FreeBSD_Install
|
VOLUME_LABEL= FreeBSD_Install
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !exists(${DOCDIR})
|
|
||||||
NODOC= true
|
|
||||||
.endif
|
|
||||||
.if !exists(${PORTSDIR})
|
.if !exists(${PORTSDIR})
|
||||||
NOPORTS= true
|
NOPORTS= true
|
||||||
.endif
|
.endif
|
||||||
@ -88,9 +82,6 @@ EXTRA_PACKAGES+= ports.txz
|
|||||||
.if !defined(NOSRC)
|
.if !defined(NOSRC)
|
||||||
EXTRA_PACKAGES+= src.txz
|
EXTRA_PACKAGES+= src.txz
|
||||||
.endif
|
.endif
|
||||||
#.if !defined(NODOC)
|
|
||||||
#EXTRA_PACKAGES+= reldoc
|
|
||||||
#.endif
|
|
||||||
|
|
||||||
RELEASE_TARGETS= ftp
|
RELEASE_TARGETS= ftp
|
||||||
IMAGES=
|
IMAGES=
|
||||||
@ -119,9 +110,6 @@ CLEANFILES+= ${I}.xz
|
|||||||
CLEANFILES+= pkg-stage
|
CLEANFILES+= pkg-stage
|
||||||
.endif
|
.endif
|
||||||
CLEANDIRS= dist ftp disc1 bootonly dvd
|
CLEANDIRS= dist ftp disc1 bootonly dvd
|
||||||
#.if !defined(NODOC)
|
|
||||||
#CLEANDIRS+= reldoc rdoc
|
|
||||||
#.endif
|
|
||||||
beforeclean:
|
beforeclean:
|
||||||
chflags -R noschg .
|
chflags -R noschg .
|
||||||
.include <bsd.obj.mk>
|
.include <bsd.obj.mk>
|
||||||
@ -161,23 +149,6 @@ ports.txz:
|
|||||||
--exclude 'usr/ports/INDEX*' --exclude work usr/ports | \
|
--exclude 'usr/ports/INDEX*' --exclude work usr/ports | \
|
||||||
${XZ_CMD} > ${.OBJDIR}/ports.txz
|
${XZ_CMD} > ${.OBJDIR}/ports.txz
|
||||||
|
|
||||||
#reldoc:
|
|
||||||
# cd ${DOCDIR}/en_US.ISO8859-1/htdocs/releases/${REVISION}R && \
|
|
||||||
# env MAN4DIR=${WORLDDIR}/share/man/man4 \
|
|
||||||
# _BRANCH=${BRANCH} \
|
|
||||||
# ${MAKE} all install clean "FORMATS=html txt" \
|
|
||||||
# INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${.OBJDIR}/rdoc \
|
|
||||||
# WEBDIR=${DOCDIR} DESTDIR=${.OBJDIR}/rdoc
|
|
||||||
# mkdir -p reldoc
|
|
||||||
#.for i in hardware readme relnotes errata
|
|
||||||
# ln -f ${.OBJDIR}/rdoc/${i:tl}.txt \
|
|
||||||
# reldoc/${i:tu}.TXT
|
|
||||||
# ln -f ${.OBJDIR}/rdoc/${i:tl}.html \
|
|
||||||
# reldoc/${i:tu}.HTML
|
|
||||||
#.endfor
|
|
||||||
# cp ${.OBJDIR}/rdoc/docbook.css \
|
|
||||||
# reldoc/
|
|
||||||
|
|
||||||
disc1: packagesystem
|
disc1: packagesystem
|
||||||
# Install system
|
# Install system
|
||||||
mkdir -p ${.TARGET}
|
mkdir -p ${.TARGET}
|
||||||
@ -193,10 +164,6 @@ disc1: packagesystem
|
|||||||
for dist in MANIFEST $$(ls *.txz | grep -vE -- '(base|lib32)-dbg'); \
|
for dist in MANIFEST $$(ls *.txz | grep -vE -- '(base|lib32)-dbg'); \
|
||||||
do cp $${dist} ${.TARGET}/usr/freebsd-dist; \
|
do cp $${dist} ${.TARGET}/usr/freebsd-dist; \
|
||||||
done
|
done
|
||||||
# Copy documentation, if generated
|
|
||||||
#.if !defined(NODOC)
|
|
||||||
# cp reldoc/* ${.TARGET}
|
|
||||||
#.endif
|
|
||||||
# Set up installation environment
|
# Set up installation environment
|
||||||
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
|
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
|
||||||
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
|
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
|
||||||
@ -221,10 +188,6 @@ bootonly: packagesystem
|
|||||||
# Copy manifest only (no distfiles) to get checksums
|
# Copy manifest only (no distfiles) to get checksums
|
||||||
mkdir -p ${.TARGET}/usr/freebsd-dist
|
mkdir -p ${.TARGET}/usr/freebsd-dist
|
||||||
cp MANIFEST ${.TARGET}/usr/freebsd-dist
|
cp MANIFEST ${.TARGET}/usr/freebsd-dist
|
||||||
# Copy documentation, if generated
|
|
||||||
#.if !defined(NODOC)
|
|
||||||
# cp reldoc/* ${.TARGET}
|
|
||||||
#.endif
|
|
||||||
# Set up installation environment
|
# Set up installation environment
|
||||||
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
|
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
|
||||||
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
|
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
|
||||||
@ -246,10 +209,6 @@ dvd: packagesystem
|
|||||||
for dist in MANIFEST $$(ls *.txz | grep -v -- '(base|lib32)-dbg'); \
|
for dist in MANIFEST $$(ls *.txz | grep -v -- '(base|lib32)-dbg'); \
|
||||||
do cp $${dist} ${.TARGET}/usr/freebsd-dist; \
|
do cp $${dist} ${.TARGET}/usr/freebsd-dist; \
|
||||||
done
|
done
|
||||||
# Copy documentation, if generated
|
|
||||||
#.if !defined(NODOC)
|
|
||||||
# cp reldoc/* ${.TARGET}
|
|
||||||
#.endif
|
|
||||||
# Set up installation environment
|
# Set up installation environment
|
||||||
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
|
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
|
||||||
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
|
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
|
||||||
|
@ -12,7 +12,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
BBB_UBOOT_DIR="/usr/local/share/u-boot/u-boot-beaglebone"
|
BBB_UBOOT_DIR="/usr/local/share/u-boot/u-boot-beaglebone"
|
||||||
RPI_UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi2"
|
RPI_UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi2"
|
||||||
RPI_FIRMWARE_DIR="/usr/local/share/rpi-firmware"
|
RPI_FIRMWARE_DIR="/usr/local/share/rpi-firmware"
|
||||||
|
@ -12,7 +12,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="RPI-B"
|
KERNEL="RPI-B"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi"
|
UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi"
|
||||||
RPI_FIRMWARE_DIR="/usr/local/share/rpi-firmware"
|
RPI_FIRMWARE_DIR="/usr/local/share/rpi-firmware"
|
||||||
OL_DIR="${RPI_FIRMWARE_DIR}/overlays"
|
OL_DIR="${RPI_FIRMWARE_DIR}/overlays"
|
||||||
|
@ -12,7 +12,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
PART_SCHEME="GPT"
|
PART_SCHEME="GPT"
|
||||||
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
||||||
export BOARDNAME="PINE64-LTS"
|
export BOARDNAME="PINE64-LTS"
|
||||||
|
@ -12,7 +12,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
PART_SCHEME="GPT"
|
PART_SCHEME="GPT"
|
||||||
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
||||||
export BOARDNAME="PINE64"
|
export BOARDNAME="PINE64"
|
||||||
|
@ -12,7 +12,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
PART_SCHEME="GPT"
|
PART_SCHEME="GPT"
|
||||||
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
||||||
export BOARDNAME="PINEBOOK"
|
export BOARDNAME="PINEBOOK"
|
||||||
|
@ -12,7 +12,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
PART_SCHEME="GPT"
|
PART_SCHEME="GPT"
|
||||||
export BOARDNAME="ROCK64"
|
export BOARDNAME="ROCK64"
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
PART_SCHEME="GPT"
|
PART_SCHEME="GPT"
|
||||||
export BOARDNAME="ROCKPRO64"
|
export BOARDNAME="ROCKPRO64"
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
OL_DIR="${DTB_DIR}/overlays"
|
OL_DIR="${DTB_DIR}/overlays"
|
||||||
OVERLAYS="mmc.dtbo pwm.dtbo disable-bt.dtbo"
|
OVERLAYS="mmc.dtbo pwm.dtbo disable-bt.dtbo"
|
||||||
PART_SCHEME="MBR"
|
PART_SCHEME="MBR"
|
||||||
|
@ -16,11 +16,9 @@ CHROOTDIR="/scratch"
|
|||||||
GITROOT="https://git.freebsd.org/"
|
GITROOT="https://git.freebsd.org/"
|
||||||
GITSRC="src.git"
|
GITSRC="src.git"
|
||||||
GITPORTS="ports.git"
|
GITPORTS="ports.git"
|
||||||
GITDOC="doc.git"
|
|
||||||
|
|
||||||
## Set the src/, ports/, and doc/ branches or tags.
|
## Set the src/, ports/, and doc/ branches or tags.
|
||||||
SRCBRANCH="main"
|
SRCBRANCH="main"
|
||||||
DOCBRANCH="main"
|
|
||||||
PORTBRANCH="main"
|
PORTBRANCH="main"
|
||||||
|
|
||||||
## Sample configuration for using git from ports.
|
## Sample configuration for using git from ports.
|
||||||
@ -45,7 +43,6 @@ PORTBRANCH="main"
|
|||||||
#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
|
#KERNEL_FLAGS="-j $(( $(( $(sysctl -n hw.ncpu) + 1 )) / 2 ))"
|
||||||
|
|
||||||
## Set miscellaneous 'make release' settings.
|
## Set miscellaneous 'make release' settings.
|
||||||
#NODOC=
|
|
||||||
#NOPORTS=
|
#NOPORTS=
|
||||||
#NOSRC=
|
#NOSRC=
|
||||||
#WITH_DVD=
|
#WITH_DVD=
|
||||||
@ -80,10 +77,6 @@ PORTBRANCH="main"
|
|||||||
## the chroot. This is intended for use when /usr/src already exists.
|
## the chroot. This is intended for use when /usr/src already exists.
|
||||||
#SRC_UPDATE_SKIP=
|
#SRC_UPDATE_SKIP=
|
||||||
|
|
||||||
## Set to a non-empty value skip checkout or update of /usr/doc in
|
|
||||||
## the chroot. This is intended for use when /usr/doc already exists.
|
|
||||||
#DOC_UPDATE_SKIP=
|
|
||||||
|
|
||||||
## Set to a non-empty value skip checkout or update of /usr/ports in
|
## Set to a non-empty value skip checkout or update of /usr/ports in
|
||||||
## the chroot. This is intended for use when /usr/ports already exists.
|
## the chroot. This is intended for use when /usr/ports already exists.
|
||||||
#PORTS_UPDATE_SKIP=
|
#PORTS_UPDATE_SKIP=
|
||||||
|
@ -86,11 +86,9 @@ env_setup() {
|
|||||||
# and ports/.
|
# and ports/.
|
||||||
GITROOT="https://git.FreeBSD.org/"
|
GITROOT="https://git.FreeBSD.org/"
|
||||||
SRCBRANCH="main"
|
SRCBRANCH="main"
|
||||||
DOCBRANCH="main"
|
|
||||||
PORTBRANCH="head"
|
PORTBRANCH="head"
|
||||||
GITSRC="src.git"
|
GITSRC="src.git"
|
||||||
GITPORTS="ports.git"
|
GITPORTS="ports.git"
|
||||||
GITDOC="doc.git"
|
|
||||||
|
|
||||||
# Set for embedded device builds.
|
# Set for embedded device builds.
|
||||||
EMBEDDEDBUILD=
|
EMBEDDEDBUILD=
|
||||||
@ -112,8 +110,6 @@ env_setup() {
|
|||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
|
|
||||||
# Set to non-empty value to disable checkout of doc/ and/or ports/.
|
# Set to non-empty value to disable checkout of doc/ and/or ports/.
|
||||||
# Disabling ports/ checkout also forces NODOC to be set.
|
|
||||||
NODOC=
|
|
||||||
NOPORTS=
|
NOPORTS=
|
||||||
|
|
||||||
# Set to non-empty value to disable distributing source tree.
|
# Set to non-empty value to disable distributing source tree.
|
||||||
@ -145,14 +141,12 @@ env_check() {
|
|||||||
|
|
||||||
# Prefix the branches with the GITROOT for the full checkout URL.
|
# Prefix the branches with the GITROOT for the full checkout URL.
|
||||||
SRC="${GITROOT}${GITSRC}"
|
SRC="${GITROOT}${GITSRC}"
|
||||||
DOC="${GITROOT}${GITDOC}"
|
|
||||||
#PORT="${GITROOT}${GITPORTS}"
|
#PORT="${GITROOT}${GITPORTS}"
|
||||||
PORT="svn://svn.freebsd.org/ports/"
|
PORT="svn://svn.freebsd.org/ports/"
|
||||||
|
|
||||||
if [ -n "${EMBEDDEDBUILD}" ]; then
|
if [ -n "${EMBEDDEDBUILD}" ]; then
|
||||||
WITH_DVD=
|
WITH_DVD=
|
||||||
WITH_COMPRESSED_IMAGES=
|
WITH_COMPRESSED_IMAGES=
|
||||||
NODOC=yes
|
|
||||||
case ${EMBEDDED_TARGET}:${EMBEDDED_TARGET_ARCH} in
|
case ${EMBEDDED_TARGET}:${EMBEDDED_TARGET_ARCH} in
|
||||||
arm:arm*|arm64:aarch64|riscv:riscv64*)
|
arm:arm*|arm64:aarch64|riscv:riscv64*)
|
||||||
chroot_build_release_cmd="chroot_arm_build_release"
|
chroot_build_release_cmd="chroot_arm_build_release"
|
||||||
@ -162,26 +156,15 @@ env_check() {
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If PORTS is set and NODOC is unset, force NODOC=yes because the ports
|
# If NOSRC and/or NOPORTS are unset, they must not pass to make
|
||||||
# tree is required to build the documentation set.
|
|
||||||
if [ -n "${NOPORTS}" ] && [ -z "${NODOC}" ]; then
|
|
||||||
echo "*** NOTICE: Setting NODOC=1 since ports tree is required"
|
|
||||||
echo " and NOPORTS is set."
|
|
||||||
NODOC=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If NOSRC, NOPORTS and/or NODOC are unset, they must not pass to make
|
|
||||||
# as variables. The release makefile verifies definedness of the
|
# as variables. The release makefile verifies definedness of the
|
||||||
# NOPORTS/NODOC variables instead of their values.
|
# NOPORTS variable instead of its value.
|
||||||
SRCDOCPORTS=
|
SRCPORTS=
|
||||||
if [ -n "${NOPORTS}" ]; then
|
if [ -n "${NOPORTS}" ]; then
|
||||||
SRCDOCPORTS="NOPORTS=yes"
|
SRCPORTS="NOPORTS=yes"
|
||||||
fi
|
|
||||||
if [ -n "${NODOC}" ]; then
|
|
||||||
SRCDOCPORTS="${SRCDOCPORTS}${SRCDOCPORTS:+ }NODOC=yes"
|
|
||||||
fi
|
fi
|
||||||
if [ -n "${NOSRC}" ]; then
|
if [ -n "${NOSRC}" ]; then
|
||||||
SRCDOCPORTS="${SRCDOCPORTS}${SRCDOCPORTS:+ }NOSRC=yes"
|
SRCPORTS="${SRCPORTS}${SRCPORTS:+ }NOSRC=yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The aggregated build-time flags based upon variables defined within
|
# The aggregated build-time flags based upon variables defined within
|
||||||
@ -219,7 +202,7 @@ env_check() {
|
|||||||
RELEASE_KMAKEFLAGS="${MAKE_FLAGS} ${KERNEL_FLAGS} \
|
RELEASE_KMAKEFLAGS="${MAKE_FLAGS} ${KERNEL_FLAGS} \
|
||||||
KERNCONF=\"${KERNEL}\" ${ARCH_FLAGS} ${CONF_FILES}"
|
KERNCONF=\"${KERNEL}\" ${ARCH_FLAGS} ${CONF_FILES}"
|
||||||
RELEASE_RMAKEFLAGS="${ARCH_FLAGS} \
|
RELEASE_RMAKEFLAGS="${ARCH_FLAGS} \
|
||||||
KERNCONF=\"${KERNEL}\" ${CONF_FILES} ${SRCDOCPORTS} \
|
KERNCONF=\"${KERNEL}\" ${CONF_FILES} ${SRCPORTS} \
|
||||||
WITH_DVD=${WITH_DVD} WITH_VMIMAGES=${WITH_VMIMAGES} \
|
WITH_DVD=${WITH_DVD} WITH_VMIMAGES=${WITH_VMIMAGES} \
|
||||||
WITH_CLOUDWARE=${WITH_CLOUDWARE} XZ_THREADS=${XZ_THREADS}"
|
WITH_CLOUDWARE=${WITH_CLOUDWARE} XZ_THREADS=${XZ_THREADS}"
|
||||||
|
|
||||||
@ -238,13 +221,6 @@ chroot_setup() {
|
|||||||
${VCSCMD} ${SRC} -b ${SRCBRANCH} ${CHROOTDIR}/usr/src
|
${VCSCMD} ${SRC} -b ${SRCBRANCH} ${CHROOTDIR}/usr/src
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -z "${NODOC}" ] && [ -z "${DOC_UPDATE_SKIP}" ]; then
|
|
||||||
if [ -d "${CHROOTDIR}/usr/doc/.git" ]; then
|
|
||||||
git -C ${CHROOTDIR}/usr/doc pull -q
|
|
||||||
else
|
|
||||||
${VCSCMD} ${DOC} -b ${DOCBRANCH} ${CHROOTDIR}/usr/doc
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
|
if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
|
||||||
# if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
|
# if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
|
||||||
# git -C ${CHROOTDIR}/usr/ports pull -q
|
# git -C ${CHROOTDIR}/usr/ports pull -q
|
||||||
@ -326,26 +302,6 @@ extra_chroot_setup() {
|
|||||||
pkg clean -y
|
pkg clean -y
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -z "${NODOC}" ] && [ -d ${CHROOTDIR}/usr/ports ]; then
|
|
||||||
# Trick the ports 'run-autotools-fixup' target to do the right
|
|
||||||
# thing.
|
|
||||||
_OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
|
|
||||||
REVISION=$(chroot ${CHROOTDIR} make -C /usr/src/release -V REVISION)
|
|
||||||
BRANCH=$(chroot ${CHROOTDIR} make -C /usr/src/release -V BRANCH)
|
|
||||||
UNAME_r=${REVISION}-${BRANCH}
|
|
||||||
if [ -d ${CHROOTDIR}/usr/doc ] && [ -z "${NODOC}" ]; then
|
|
||||||
PBUILD_FLAGS="OSVERSION=${_OSVERSION} BATCH=yes"
|
|
||||||
PBUILD_FLAGS="${PBUILD_FLAGS} UNAME_r=${UNAME_r}"
|
|
||||||
PBUILD_FLAGS="${PBUILD_FLAGS} OSREL=${REVISION}"
|
|
||||||
PBUILD_FLAGS="${PBUILD_FLAGS} WRKDIRPREFIX=/tmp/ports"
|
|
||||||
PBUILD_FLAGS="${PBUILD_FLAGS} DISTDIR=/tmp/distfiles"
|
|
||||||
chroot ${CHROOTDIR} env ${PBUILD_FLAGS} \
|
|
||||||
OPTIONS_UNSET="AVAHI FOP IGOR" make -C \
|
|
||||||
/usr/ports/textproc/docproj \
|
|
||||||
FORCE_PKG_REGISTER=1 \
|
|
||||||
install clean distclean
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -z "${EMBEDDEDPORTS}" ]; then
|
if [ ! -z "${EMBEDDEDPORTS}" ]; then
|
||||||
_OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
|
_OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
|
||||||
|
@ -11,6 +11,5 @@ FAT_TYPE="16"
|
|||||||
IMAGE_SIZE="3072M"
|
IMAGE_SIZE="3072M"
|
||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
|
||||||
PART_SCHEME="GPT"
|
PART_SCHEME="GPT"
|
||||||
export BOARDNAME="GENERICSD"
|
export BOARDNAME="GENERICSD"
|
||||||
|
Loading…
Reference in New Issue
Block a user