summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release/Makefile7
-rwxr-xr-xrelease/release.sh6
-rw-r--r--share/man/man7/release.75
3 files changed, 15 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile
index 976e994..8db3a73 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -6,6 +6,7 @@
# cdrom: Builds release CD-ROM media (disc1.iso)
# dvdrom: Builds release DVD-ROM media (dvd1.iso)
# memstick: Builds memory stick image (memstick.img)
+# mini-memstick: Builds minimal memory stick image (mini-memstick.img)
# ftp: Sets up FTP distribution area (ftp)
# release: Build all media and FTP distribution area
# install: Copies all release media into ${DESTDIR}
@@ -84,7 +85,9 @@ IMAGES+= dvd1.iso
.endif
.if exists(${.CURDIR}/${TARGET}/make-memstick.sh)
RELEASE_TARGETS+= memstick.img
+RELEASE_TARGETS+= mini-memstick.img
IMAGES+= memstick.img
+IMAGES+= mini-memstick.img
.endif
CLEANFILES= packagesystem *.txz MANIFEST system ${IMAGES}
@@ -208,6 +211,10 @@ memstick: memstick.img
memstick.img: system
sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}
+mini-memstick: mini-memstick.img
+mini-memstick.img: system
+ sh ${.CURDIR}/${TARGET}/make-memstick.sh bootonly ${.TARGET}
+
packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
sh ${.CURDIR}/scripts/make-manifest.sh *.txz > MANIFEST
touch ${.TARGET}
diff --git a/release/release.sh b/release/release.sh
index f31c87a..1389ce3 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -111,10 +111,10 @@ fi
# instead of their values.
DOCPORTS=
if [ "x${NOPORTS}" != "x" ]; then
- DOCPORTS="NOPORTS=yes "
+ DOCPORTS="NOPORTS=yes "
fi
if [ "x${NODOC}" != "x" ]; then
- DOCPORTS="${DOCPORTS}NODOC=yes"
+ DOCPORTS="${DOCPORTS}NODOC=yes"
fi
# The aggregated build-time flags based upon variables defined within
@@ -137,7 +137,7 @@ RELEASE_RMAKEFLAGS="${ARCH_FLAGS} KERNCONF=\"${KERNEL}\" ${CONF_FILES} \
# Force src checkout if configured
FORCE_SRC_KEY=
if [ "x${SRC_FORCE_CHECKOUT}" != "x" ]; then
- FORCE_SRC_KEY="--force"
+ FORCE_SRC_KEY="--force"
fi
if [ ! ${CHROOTDIR} ]; then
diff --git a/share/man/man7/release.7 b/share/man/man7/release.7
index f8fc42b..481d4f9 100644
--- a/share/man/man7/release.7
+++ b/share/man/man7/release.7
@@ -292,6 +292,11 @@ Requires that the
.Pq memory disk
device driver be present in the kernel
.Pq either by being compiled in or available as a module .
+.It Cm mini-memstick
+Similar to
+.Cm memstick ,
+with the exception that the installation distribution sets
+are not included.
.It Cm ftp
Creates a directory named
.Pa ftp
OpenPOWER on IntegriCloud