Replaced all '...' with single '.' in all scripts.

This commit is contained in:
Ivan Davidov 2017-11-29 22:06:36 +02:00
parent 1943629bb4
commit c736467394
57 changed files with 134 additions and 134 deletions

View File

@ -3,7 +3,7 @@ set -e
echo "*** CLEAN BEGIN ***" echo "*** CLEAN BEGIN ***"
echo "Cleaning up the main work area. This may take a while..." echo "Cleaning up the main work area. This may take a while."
rm -rf work rm -rf work
mkdir work mkdir work
mkdir -p source mkdir -p source

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted kernel. # Delete folder with previously extracted kernel.
echo "Removing kernel work area. This may take a while..." echo "Removing kernel work area. This may take a while."
rm -rf ../work/kernel rm -rf ../work/kernel
mkdir ../work/kernel mkdir ../work/kernel

View File

@ -26,7 +26,7 @@ mkdir kernel_installed
cd $(ls -d linux-*) cd $(ls -d linux-*)
# Cleans up the kernel sources, including configuration files. # Cleans up the kernel sources, including configuration files.
echo "Preparing kernel work area..." echo "Preparing kernel work area."
make mrproper -j $NUM_JOBS make mrproper -j $NUM_JOBS
# Read the 'USE_PREDEFINED_KERNEL_CONFIG' property from '.config' # Read the 'USE_PREDEFINED_KERNEL_CONFIG' property from '.config'
@ -104,7 +104,7 @@ fi
# Compile the kernel with optimization for 'parallel jobs' = 'number of processors'. # Compile the kernel with optimization for 'parallel jobs' = 'number of processors'.
# Good explanation of the different kernels: # Good explanation of the different kernels:
# http://unix.stackexchange.com/questions/5518/what-is-the-difference-between-the-following-kernel-makefile-terms-vmlinux-vmlinux # http://unix.stackexchange.com/questions/5518/what-is-the-difference-between-the-following-kernel-makefile-terms-vmlinux-vmlinux
echo "Building kernel..." echo "Building kernel."
make \ make \
CFLAGS="$CFLAGS" \ CFLAGS="$CFLAGS" \
bzImage -j $NUM_JOBS bzImage -j $NUM_JOBS
@ -115,7 +115,7 @@ cp arch/x86/boot/bzImage \
# Install kernel headers which are used later when we build and configure the # Install kernel headers which are used later when we build and configure the
# GNU C library (glibc). # GNU C library (glibc).
echo "Generating kernel headers..." echo "Generating kernel headers."
make \ make \
INSTALL_HDR_PATH=$SRC_DIR/work/kernel/kernel_installed \ INSTALL_HDR_PATH=$SRC_DIR/work/kernel/kernel_installed \
headers_install -j $NUM_JOBS headers_install -j $NUM_JOBS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted glibc. # Delete folder with previously extracted glibc.
echo "Removing glibc work area. This may take a while..." echo "Removing glibc work area. This may take a while."
rm -rf ../work/glibc rm -rf ../work/glibc
mkdir ../work/glibc mkdir ../work/glibc

View File

@ -27,12 +27,12 @@ GLIBC_SRC=$(pwd)
cd .. cd ..
# Prepare the work area, e.g. 'work/glibc/glibc_objects'. # Prepare the work area, e.g. 'work/glibc/glibc_objects'.
echo "Preparing glibc object area. This may take a while..." echo "Preparing glibc object area. This may take a while."
rm -rf glibc_objects rm -rf glibc_objects
mkdir glibc_objects mkdir glibc_objects
# Prepare the install area, e.g. 'work/glibc/glibc_installed'. # Prepare the install area, e.g. 'work/glibc/glibc_installed'.
echo "Preparing glibc install area. This may take a while..." echo "Preparing glibc install area. This may take a while."
rm -rf glibc_installed rm -rf glibc_installed
mkdir glibc_installed mkdir glibc_installed
GLIBC_INSTALLED=$(pwd)/glibc_installed GLIBC_INSTALLED=$(pwd)/glibc_installed
@ -46,7 +46,7 @@ cd glibc_objects
# to be in '/lib64'. Kernel headers are taken from our already prepared kernel # to be in '/lib64'. Kernel headers are taken from our already prepared kernel
# header area (see xx_build_kernel.sh). Packages 'gd' and 'selinux' are disabled # header area (see xx_build_kernel.sh). Packages 'gd' and 'selinux' are disabled
# for better build compatibility with the host system. # for better build compatibility with the host system.
echo "Configuring glibc..." echo "Configuring glibc."
$GLIBC_SRC/configure \ $GLIBC_SRC/configure \
--prefix= \ --prefix= \
--with-headers=$KERNEL_INSTALLED/include \ --with-headers=$KERNEL_INSTALLED/include \
@ -56,11 +56,11 @@ $GLIBC_SRC/configure \
CFLAGS="$CFLAGS" CFLAGS="$CFLAGS"
# Compile glibc with optimization for "parallel jobs" = "number of processors". # Compile glibc with optimization for "parallel jobs" = "number of processors".
echo "Building glibc..." echo "Building glibc."
make -j $NUM_JOBS make -j $NUM_JOBS
# Install glibc in the installation area, e.g. 'work/glibc/glibc_installed'. # Install glibc in the installation area, e.g. 'work/glibc/glibc_installed'.
echo "Installing glibc..." echo "Installing glibc."
make install \ make install \
DESTDIR=$GLIBC_INSTALLED \ DESTDIR=$GLIBC_INSTALLED \
-j $NUM_JOBS -j $NUM_JOBS

View File

@ -6,11 +6,11 @@ SRC_DIR=$(pwd)
cd work cd work
echo "Cleaning existing sysroot. This may take a while..." echo "Cleaning existing sysroot. This may take a while."
rm -rf sysroot rm -rf sysroot
rm -rf sysroot.specs rm -rf sysroot.specs
echo "Preparing glibc. This may take a while..." echo "Preparing glibc. This may take a while."
cp -r glibc/glibc_installed sysroot cp -r glibc/glibc_installed sysroot
cd sysroot cd sysroot

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted busybox. # Delete folder with previously extracted busybox.
echo "Removing BusyBox work area. This may take a while..." echo "Removing BusyBox work area. This may take a while."
rm -rf ../work/busybox rm -rf ../work/busybox
mkdir ../work/busybox mkdir ../work/busybox

View File

@ -25,7 +25,7 @@ rm -rf busybox_installed
cd $(ls -d busybox-*) cd $(ls -d busybox-*)
# Remove previously generated artifacts. # Remove previously generated artifacts.
echo "Preparing BusyBox work area. This may take a while..." echo "Preparing BusyBox work area. This may take a while."
make distclean -j $NUM_JOBS make distclean -j $NUM_JOBS
# Read the 'USE_PREDEFINED_BUSYBOX_CONFIG' property from '.config' # Read the 'USE_PREDEFINED_BUSYBOX_CONFIG' property from '.config'
@ -42,12 +42,12 @@ if [ "$USE_PREDEFINED_BUSYBOX_CONFIG" = "true" ] ; then
cp -f $SRC_DIR/minimal_config/busybox.config .config cp -f $SRC_DIR/minimal_config/busybox.config .config
else else
# Create default configuration file. # Create default configuration file.
echo "Generating default BusyBox configuration..." echo "Generating default BusyBox configuration."
make defconfig -j $NUM_JOBS make defconfig -j $NUM_JOBS
# The 'inetd' applet fails to compile because we use the glibc installation area as # The 'inetd' applet fails to compile because we use the glibc installation area as
# main pointer to the kernel headers (see 05_prepare_glibc.sh) and some headers are # main pointer to the kernel headers (see 05_prepare_glibc.sh) and some headers are
# not resolved. The easiest solution is to ignore this particular applet. # not resolved. The easiest solution is to ignore this particular applet.
sed -i "s/.*CONFIG_INETD.*/CONFIG_INETD=n/" .config sed -i "s/.*CONFIG_INETD.*/CONFIG_INETD=n/" .config
fi fi
@ -62,13 +62,13 @@ sed -i "s/.*CONFIG_SYSROOT.*/CONFIG_SYSROOT=$SYSROOT_ESCAPED/" .config
CFLAGS="$(grep -i ^CFLAGS .config | cut -f2 -d'=')" CFLAGS="$(grep -i ^CFLAGS .config | cut -f2 -d'=')"
# Compile busybox with optimization for "parallel jobs" = "number of processors". # Compile busybox with optimization for "parallel jobs" = "number of processors".
echo "Building BusyBox..." echo "Building BusyBox."
make \ make \
EXTRA_CFLAGS="$CFLAGS" \ EXTRA_CFLAGS="$CFLAGS" \
busybox -j $NUM_JOBS busybox -j $NUM_JOBS
# Create the symlinks for busybox. The file 'busybox.links' is used for this. # Create the symlinks for busybox. The file 'busybox.links' is used for this.
echo "Generating BusyBox based initramfs area..." echo "Generating BusyBox based initramfs area."
make \ make \
CONFIG_PREFIX="../busybox_installed" \ CONFIG_PREFIX="../busybox_installed" \
install -j $NUM_JOBS install -j $NUM_JOBS

View File

@ -13,7 +13,7 @@ rm -rf $SRC_DIR/work/overlay*
OVERLAY_BUNDLES="$(grep -i ^OVERLAY_BUNDLES .config | cut -f2 -d'=')" OVERLAY_BUNDLES="$(grep -i ^OVERLAY_BUNDLES .config | cut -f2 -d'=')"
if [ ! "$OVERLAY_BUNDLES" = "" ] ; then if [ ! "$OVERLAY_BUNDLES" = "" ] ; then
echo "Generating additional overlay bundles. This may take a while..." echo "Generating additional overlay bundles. This may take a while."
cd minimal_overlay cd minimal_overlay
./overlay_build.sh ./overlay_build.sh
cd $SRC_DIR cd $SRC_DIR

View File

@ -7,7 +7,7 @@ SRC_DIR=$(pwd)
cd work cd work
echo "Packing initramfs. This may take a while..." echo "Packing initramfs. This may take a while."
# Remove the old 'initramfs' archive if it exists. # Remove the old 'initramfs' archive if it exists.
rm -f rootfs.cpio.xz rm -f rootfs.cpio.xz

View File

@ -28,7 +28,7 @@ else
fi fi
# Delete folder with previously prepared cloud foundry cli. # Delete folder with previously prepared cloud foundry cli.
echo "Removing cloud foundry cli work area. This may take a while..." echo "Removing cloud foundry cli work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -4,7 +4,7 @@ set -e
. ../../common.sh . ../../common.sh
echo "Removing old cloud foundry artifacts. This may take a while..." echo "Removing old cloud foundry artifacts. This may take a while."
rm -rf $DEST_DIR rm -rf $DEST_DIR
mkdir -p $DEST_DIR/opt/$BUNDLE_NAME mkdir -p $DEST_DIR/opt/$BUNDLE_NAME
mkdir -p $DEST_DIR/bin mkdir -p $DEST_DIR/bin

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted coreutils. # Delete folder with previously extracted coreutils.
echo "Removing coreutils work area. This may take a while..." echo "Removing coreutils work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,22 +9,22 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the coreutils source directory which ls finds, e.g. 'coreutils-8.28'. # Change to the coreutils source directory which ls finds, e.g. 'coreutils-8.28'.
cd $(ls -d coreutils-*) cd $(ls -d coreutils-*)
echo "Preparing coreutils work area. This may take a while..." echo "Preparing coreutils work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring coreutils..." echo "Configuring coreutils."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr --prefix=/usr
echo "Building coreutils..." echo "Building coreutils."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing coreutils..." echo "Installing coreutils."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing coreutils size..." echo "Reducing coreutils size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/* $OVERLAY_ROOTFS cp -r $DEST_DIR/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted dialog. # Delete folder with previously extracted dialog.
echo "Removing dialog work area. This may take a while..." echo "Removing dialog work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,23 +9,23 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the dialog source directory which ls finds, e.g. 'dialog-1.3-20170509'. # Change to the dialog source directory which ls finds, e.g. 'dialog-1.3-20170509'.
cd $(ls -d dialog-*) cd $(ls -d dialog-*)
echo "Preparing dialog work area. This may take a while..." echo "Preparing dialog work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
# Configure dialog # Configure dialog
echo "Configuring dialog..." echo "Configuring dialog."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr --prefix=/usr
echo "Building dialog..." echo "Building dialog."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing dialog..." echo "Installing dialog."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing dialog size..." echo "Reducing dialog size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/usr/* $OVERLAY_ROOTFS cp -r $DEST_DIR/usr/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted Dropbear. # Delete folder with previously extracted Dropbear.
echo "Removing Dropbear work area. This may take a while..." echo "Removing Dropbear work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,21 +9,21 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the Dropbear source directory which ls finds, e.g. 'dropbear-2016.73'. # Change to the Dropbear source directory which ls finds, e.g. 'dropbear-2016.73'.
cd $(ls -d dropbear-*) cd $(ls -d dropbear-*)
echo "Preparing Dropbear work area. This may take a while..." echo "Preparing Dropbear work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring Dropbear..." echo "Configuring Dropbear."
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--disable-zlib \ --disable-zlib \
--disable-loginfunc --disable-loginfunc
CFLAGS="$CFLAGS" CFLAGS="$CFLAGS"
echo "Building Dropbear..." echo "Building Dropbear."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing Dropbear..." echo "Installing Dropbear."
make -j $NUM_JOBS install DESTDIR="$DEST_DIR" make -j $NUM_JOBS install DESTDIR="$DEST_DIR"
mkdir -p $DEST_DIR/etc/dropbear mkdir -p $DEST_DIR/etc/dropbear
@ -54,7 +54,7 @@ mkdir -p $DEST_DIR/root
# Create Dropbear SSH configuration END # Create Dropbear SSH configuration END
echo "Reducing Dropbear size..." echo "Reducing Dropbear size."
strip -g \ strip -g \
$DEST_DIR/usr/bin/* \ $DEST_DIR/usr/bin/* \
$DEST_DIR/usr/sbin/* \ $DEST_DIR/usr/sbin/* \

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted Felix. # Delete folder with previously extracted Felix.
echo "Removing Apache Felix work area. This may take a while..." echo "Removing Apache Felix work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -4,7 +4,7 @@ set -e
. ../../common.sh . ../../common.sh
echo "Removing old Apache Felix artifacts. This may take a while..." echo "Removing old Apache Felix artifacts. This may take a while."
rm -rf $DEST_DIR rm -rf $DEST_DIR
mkdir -p $DEST_DIR/opt/felix mkdir -p $DEST_DIR/opt/felix
mkdir -p $DEST_DIR/bin mkdir -p $DEST_DIR/bin

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted fio. # Delete folder with previously extracted fio.
echo "Removing fio work area. This may take a while..." echo "Removing fio work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,22 +9,22 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the fio source directory which ls finds, e.g. 'fio-3.2'. # Change to the fio source directory which ls finds, e.g. 'fio-3.2'.
cd $(ls -d fio-*) cd $(ls -d fio-*)
echo "Preparing fio work area. This may take a while..." echo "Preparing fio work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring fio..." echo "Configuring fio."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr --prefix=/usr
echo "Building fio..." echo "Building fio."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing fio..." echo "Installing fio."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing fio size..." echo "Reducing fio size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/* $OVERLAY_ROOTFS cp -r $DEST_DIR/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted kbd. # Delete folder with previously extracted kbd.
echo "Removing kbd work area. This may take a while..." echo "Removing kbd work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,23 +9,23 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the kbd source directory which ls finds, e.g. 'kbd-2.04'. # Change to the kbd source directory which ls finds, e.g. 'kbd-2.04'.
cd $(ls -d kbd-*) cd $(ls -d kbd-*)
echo "Preparing kbd work area. This may take a while..." echo "Preparing kbd work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring kbd..." echo "Configuring kbd."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr \ --prefix=/usr \
--disable-vlock --disable-vlock
# vlock requires PAM # vlock requires PAM
echo "Building kbd..." echo "Building kbd."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing kbd..." echo "Installing kbd."
make -j $NUM_JOBS install DESTDIR="$DEST_DIR" make -j $NUM_JOBS install DESTDIR="$DEST_DIR"
echo "Reducing kbd size..." echo "Reducing kbd size."
strip -g \ strip -g \
$DEST_DIR/usr/bin/* \ $DEST_DIR/usr/bin/* \
$DEST_DIR/usr/sbin/* \ $DEST_DIR/usr/sbin/* \

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted kexec-tools. # Delete folder with previously extracted kexec-tools.
echo "Removing kexec-tools work area. This may take a while..." echo "Removing kexec-tools work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,11 +9,11 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the kexec-tools source directory which ls finds, e.g. 'kexec-tools-2.0.15'. # Change to the kexec-tools source directory which ls finds, e.g. 'kexec-tools-2.0.15'.
cd $(ls -d kexec-tools-*) cd $(ls -d kexec-tools-*)
echo "Preparing kexec-tools work area. This may take a while..." echo "Preparing kexec-tools work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Building kexec-tools..." echo "Building kexec-tools."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr \ --prefix=/usr \
--without-lzama --without-lzama
@ -22,7 +22,7 @@ make -j $NUM_JOBS
make -j $NUM_JOBS install DESTDIR="$DEST_DIR" make -j $NUM_JOBS install DESTDIR="$DEST_DIR"
echo "Reducing kexec-tools size..." echo "Reducing kexec-tools size."
strip -g $DEST_DIR/usr/bin/* \ strip -g $DEST_DIR/usr/bin/* \
$DEST_DIR/usr/lib/* 2>/dev/null $DEST_DIR/usr/lib/* 2>/dev/null

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted libevent. # Delete folder with previously extracted libevent.
echo "Removing libevent work area. This may take a while..." echo "Removing libevent work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,21 +9,21 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the libevent source directory which ls finds, e.g. 'libevent-2.1.8-stable'. # Change to the libevent source directory which ls finds, e.g. 'libevent-2.1.8-stable'.
cd $(ls -d libevent-*) cd $(ls -d libevent-*)
echo "Preparing libevent work area. This may take a while..." echo "Preparing libevent work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring libevent..." echo "Configuring libevent."
CFLAGS="$CFLAGS" ./configure CFLAGS="$CFLAGS" ./configure
echo "Building libevent..." echo "Building libevent."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing libevent..." echo "Installing libevent."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing libevent size..." echo "Reducing libevent size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/usr/local/* $OVERLAY_ROOTFS cp -r $DEST_DIR/usr/local/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted Links. # Delete folder with previously extracted Links.
echo "Removing Links work area. This may take a while..." echo "Removing Links work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,12 +9,12 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the Links source directory which ls finds, e.g. 'links-2.12'. # Change to the Links source directory which ls finds, e.g. 'links-2.12'.
cd $(ls -d links-*) cd $(ls -d links-*)
echo "Preparing Links work area. This may take a while..." echo "Preparing Links work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring Links..." echo "Configuring Links."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr \ --prefix=/usr \
--disable-graphics \ --disable-graphics \
@ -24,13 +24,13 @@ CFLAGS="$CFLAGS" ./configure \
--without-zlib \ --without-zlib \
--without-x --without-x
echo "Building Links..." echo "Building Links."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing Links..." echo "Installing Links."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing Links size..." echo "Reducing Links size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
mkdir -p "$OVERLAY_ROOTFS/usr/bin" mkdir -p "$OVERLAY_ROOTFS/usr/bin"

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted Lua. # Delete folder with previously extracted Lua.
echo "Removing Lua work area. This may take a while..." echo "Removing Lua work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -11,18 +11,18 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the Lua source directory which ls finds, e.g. 'lua-5.3.4'. # Change to the Lua source directory which ls finds, e.g. 'lua-5.3.4'.
cd $(ls -d lua-*) cd $(ls -d lua-*)
echo "Preparing Lua work area. This may take a while..." echo "Preparing Lua work area. This may take a while."
# we install lua to /usr and not to /usr/local so we need to fix luaconf.h so lua can find modules, etc ... # we install lua to /usr and not to /usr/local so we need to fix luaconf.h so lua can find modules, etc.
sed -i 's/#define LUA_ROOT.*/#define LUA_ROOT \"\/usr\/\"/' src/luaconf.h sed -i 's/#define LUA_ROOT.*/#define LUA_ROOT \"\/usr\/\"/' src/luaconf.h
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Building Lua..." echo "Building Lua."
make -j $NUM_JOBS posix CFLAGS="$CFLAGS" make -j $NUM_JOBS posix CFLAGS="$CFLAGS"
make -j $NUM_JOBS install INSTALL_TOP="$DEST_DIR/usr" make -j $NUM_JOBS install INSTALL_TOP="$DEST_DIR/usr"
echo "Reducing Lua size..." echo "Reducing Lua size."
strip -g $DEST_DIR/usr/bin/* 2>/dev/null strip -g $DEST_DIR/usr/bin/* 2>/dev/null
mkdir -p $OVERLAY_ROOTFS/usr/ mkdir -p $OVERLAY_ROOTFS/usr/

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted make. # Delete folder with previously extracted make.
echo "Removing make work area. This may take a while..." echo "Removing make work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,25 +9,25 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the make source directory which ls finds, e.g. 'make-8.28'. # Change to the make source directory which ls finds, e.g. 'make-8.28'.
cd $(ls -d make-*) cd $(ls -d make-*)
echo "Preparing make work area. This may take a while..." echo "Preparing make work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring make..." echo "Configuring make."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr --prefix=/usr
echo "Building make..." echo "Building make."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing make..." echo "Installing make."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
mkdir -p $DEST_DIR/lib mkdir -p $DEST_DIR/lib
cp $SYSROOT/lib/libdl.so.2 $DEST_DIR/lib/ cp $SYSROOT/lib/libdl.so.2 $DEST_DIR/lib/
echo "Reducing make size..." echo "Reducing make size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/* $OVERLAY_ROOTFS cp -r $DEST_DIR/* $OVERLAY_ROOTFS

View File

@ -4,7 +4,7 @@ set -e
. ../../common.sh . ../../common.sh
echo "Preparing the Minimal Linux Live utilities folder. This may take a while..." echo "Preparing the Minimal Linux Live utilities folder. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir -p $WORK_DIR/overlay/$BUNDLE_NAME/sbin mkdir -p $WORK_DIR/overlay/$BUNDLE_NAME/sbin

View File

@ -69,7 +69,7 @@ if [ ! "\$2" = "" ] ; then
fi fi
for n in \$(seq \$NUM_LOOPS) ; do for n in \$(seq \$NUM_LOOPS) ; do
echo " Windows update \$n of \$NUM_LOOPS is being installed. Please wait..." echo " Windows update \$n of \$NUM_LOOPS is being installed. Please wait."
dd if=/dev/urandom of=/dev/\$1 bs=1024b conv=notrunc > /dev/null 2>\&1 dd if=/dev/urandom of=/dev/\$1 bs=1024b conv=notrunc > /dev/null 2>\&1
done done

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted nano. # Delete folder with previously extracted nano.
echo "Removing nano work area. This may take a while..." echo "Removing nano work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,23 +9,23 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the nano source directory which ls finds, e.g. 'nano-2.8.7'. # Change to the nano source directory which ls finds, e.g. 'nano-2.8.7'.
cd $(ls -d nano-*) cd $(ls -d nano-*)
echo "Preparing nano work area. This may take a while..." echo "Preparing nano work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring nano..." echo "Configuring nano."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr \ --prefix=/usr \
LDFLAGS=-L$DEST_DIR/usr/include LDFLAGS=-L$DEST_DIR/usr/include
echo "Building nano..." echo "Building nano."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing nano..." echo "Installing nano."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing nano size..." echo "Reducing nano size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/* $OVERLAY_ROOTFS cp -r $DEST_DIR/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted ncurses. # Delete folder with previously extracted ncurses.
echo "Removing ncurses work area. This may take a while..." echo "Removing ncurses work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,7 +9,7 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the ncurses source directory which ls finds, e.g. 'ncurses-6.0'. # Change to the ncurses source directory which ls finds, e.g. 'ncurses-6.0'.
cd $(ls -d ncurses-*) cd $(ls -d ncurses-*)
echo "Preparing ncurses work area. This may take a while..." echo "Preparing ncurses work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
@ -19,7 +19,7 @@ sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in
# http://www.linuxfromscratch.org/lfs/view/development/chapter06/ncurses.html # http://www.linuxfromscratch.org/lfs/view/development/chapter06/ncurses.html
# Configure Ncurses # Configure Ncurses
echo "Configuring Ncurses..." echo "Configuring ncurses."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr \ --prefix=/usr \
--with-termlib \ --with-termlib \
@ -42,10 +42,10 @@ CFLAGS="$CFLAGS" ./configure \
# CPPFLAGS fixes a bug with Ubuntu 16.04 # CPPFLAGS fixes a bug with Ubuntu 16.04
# https://trac.sagemath.org/ticket/19762 # https://trac.sagemath.org/ticket/19762
echo "Building ncurses..." echo "Building ncurses."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing ncurses..." echo "Installing ncurses."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
# Symnlink wide character libraries # Symnlink wide character libraries
@ -55,7 +55,7 @@ ln -s libncurses.so.5 libncurses.so
ln -s libtinfow.so.5 libtinfo.so.5 ln -s libtinfow.so.5 libtinfo.so.5
ln -s libtinfo.so.5 libtinfo.so ln -s libtinfo.so.5 libtinfo.so
echo "Reducing ncurses size..." echo "Reducing ncurses size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/usr/* $OVERLAY_ROOTFS cp -r $DEST_DIR/usr/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted Felix. # Delete folder with previously extracted Felix.
echo "Removing Open JDK work area. This may take a while..." echo "Removing Open JDK work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -26,7 +26,7 @@ else
fi fi
# Delete folder with previously prepared static-get. # Delete folder with previously prepared static-get.
echo "Removing static-get work area. This may take a while..." echo "Removing static-get work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -4,7 +4,7 @@ set -e
. ../../common.sh . ../../common.sh
echo "Removing old static-get artifacts. This may take a while..." echo "Removing old static-get artifacts. This may take a while."
rm -rf $DEST_DIR rm -rf $DEST_DIR
mkdir -p $DEST_DIR/opt/$BUNDLE_NAME mkdir -p $DEST_DIR/opt/$BUNDLE_NAME
mkdir -p $DEST_DIR/bin mkdir -p $DEST_DIR/bin

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted stress. # Delete folder with previously extracted stress.
echo "Removing stress work area. This may take a while..." echo "Removing stress work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -11,22 +11,22 @@ DESTDIR="$PWD/stress_installed"
# Change to the stress source directory which ls finds, e.g. 'stress-1.0.4'. # Change to the stress source directory which ls finds, e.g. 'stress-1.0.4'.
cd $(ls -d stress-*) cd $(ls -d stress-*)
echo "Preparing stress work area. This may take a while..." echo "Preparing stress work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring stress..." echo "Configuring stress."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr --prefix=/usr
echo "Building stress..." echo "Building stress."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing stress..." echo "Installing stress."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing stress size..." echo "Reducing stress size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/* $OVERLAY_ROOTFS cp -r $DEST_DIR/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted util-linux. # Delete folder with previously extracted util-linux.
echo "Removing util-linux work area. This may take a while..." echo "Removing util-linux work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,12 +9,12 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the util-linux source directory which ls finds, e.g. 'util-linux-2.31'. # Change to the util-linux source directory which ls finds, e.g. 'util-linux-2.31'.
cd $(ls -d util-linux-*) cd $(ls -d util-linux-*)
echo "Preparing util-linux work area. This may take a while..." echo "Preparing util-linux work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring util-linux..." echo "Configuring util-linux."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
ADJTIME_PATH=/var/lib/hwclock/adjtime \ ADJTIME_PATH=/var/lib/hwclock/adjtime \
--docdir=/usr/share/doc/util-linux-2.31 \ --docdir=/usr/share/doc/util-linux-2.31 \
@ -30,13 +30,13 @@ CFLAGS="$CFLAGS" ./configure \
--without-systemd \ --without-systemd \
--without-systemdsystemunitdir --without-systemdsystemunitdir
echo "Building util-linux..." echo "Building util-linux."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing util-linux..." echo "Installing util-linux."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Reducing util-linux size..." echo "Reducing util-linux size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/* $OVERLAY_ROOTFS cp -r $DEST_DIR/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted vim. # Delete folder with previously extracted vim.
echo "Removing vim work area. This may take a while..." echo "Removing vim work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,25 +9,25 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the vim source directory which ls finds, e.g. 'vim-8.0.1298'. # Change to the vim source directory which ls finds, e.g. 'vim-8.0.1298'.
cd $(ls -d vim-*) cd $(ls -d vim-*)
echo "Preparing vim work area. This may take a while..." echo "Preparing vim work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Setting vimrc location..." echo "Setting vimrc location."
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
echo "Configuring vim..." echo "Configuring vim."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=/usr --prefix=/usr
echo "Building vim..." echo "Building vim."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing vim..." echo "Installing vim."
make -j $NUM_JOBS install DESTDIR=$DEST_DIR make -j $NUM_JOBS install DESTDIR=$DEST_DIR
echo "Generating vimrc..." echo "Generating vimrc."
mkdir -p $DEST_DIR/etc mkdir -p $DEST_DIR/etc
cat > $DES_TDIR/etc/vimrc << "EOF" cat > $DES_TDIR/etc/vimrc << "EOF"
" Begin /etc/vimrc " Begin /etc/vimrc
@ -41,12 +41,12 @@ set background=dark
" End /etc/vimrc " End /etc/vimrc
EOF EOF
echo "Symlinking vim to vi..." echo "Symlinking vim to vi."
ln -sv vim $DEST_DIR/usr/bin/vi ln -sv vim $DEST_DIR/usr/bin/vi
mkdir -p $DEST_DIR/bin mkdir -p $DEST_DIR/bin
ln -sv vim $DEST_DIR/bin/vi ln -sv vim $DEST_DIR/bin/vi
echo "Reducing vim size..." echo "Reducing vim size."
strip -g $DEST_DIR/usr/bin/* strip -g $DEST_DIR/usr/bin/*
cp -r $DEST_DIR/* $OVERLAY_ROOTFS cp -r $DEST_DIR/* $OVERLAY_ROOTFS

View File

@ -29,7 +29,7 @@ else
fi fi
# Delete folder with previously extracted ZLIB. # Delete folder with previously extracted ZLIB.
echo "Removing ZLIB work area. This may take a while..." echo "Removing ZLIB work area. This may take a while."
rm -rf $WORK_DIR/overlay/$BUNDLE_NAME rm -rf $WORK_DIR/overlay/$BUNDLE_NAME
mkdir $WORK_DIR/overlay/$BUNDLE_NAME mkdir $WORK_DIR/overlay/$BUNDLE_NAME

View File

@ -9,22 +9,22 @@ cd $WORK_DIR/overlay/$BUNDLE_NAME
# Change to the Links source directory which ls finds, e.g. 'zlib-1.2.11'. # Change to the Links source directory which ls finds, e.g. 'zlib-1.2.11'.
cd $(ls -d zlib-*) cd $(ls -d zlib-*)
echo "Preparing ZLIB work area. This may take a while..." echo "Preparing ZLIB work area. This may take a while."
make -j $NUM_JOBS clean make -j $NUM_JOBS clean
rm -rf $DEST_DIR rm -rf $DEST_DIR
echo "Configuring ZLIB..." echo "Configuring ZLIB."
CFLAGS="$CFLAGS" ./configure \ CFLAGS="$CFLAGS" ./configure \
--prefix=$DEST_DIR --prefix=$DEST_DIR
echo "Building ZLIB..." echo "Building ZLIB."
make -j $NUM_JOBS make -j $NUM_JOBS
echo "Installing ZLIB..." echo "Installing ZLIB."
make -j $NUM_JOBS install make -j $NUM_JOBS install
echo "Reducing ZLIB size..." echo "Reducing ZLIB size."
strip -g $DEST_DIR/lib/* strip -g $DEST_DIR/lib/*
mkdir -p "$OVERLAY_ROOTFS/lib" mkdir -p "$OVERLAY_ROOTFS/lib"

View File

@ -55,7 +55,7 @@ do
elif [ -d $MAIN_SRC_DIR/work/overlay/$BUNDLE_DEP ] ; then elif [ -d $MAIN_SRC_DIR/work/overlay/$BUNDLE_DEP ] ; then
echo "Overlay bundle '$BUNDLE_DEP' has already been prepared." echo "Overlay bundle '$BUNDLE_DEP' has already been prepared."
else else
echo "Preparing overlay bundle '$BUNDLE_DEP'..." echo "Preparing overlay bundle '$BUNDLE_DEP'."
cd $SRC_DIR cd $SRC_DIR
./overlay_build.sh --skip-clean $BUNDLE_DEP ./overlay_build.sh --skip-clean $BUNDLE_DEP
echo "Overlay bundle '$BUNDLE_DEP' has been prepared." echo "Overlay bundle '$BUNDLE_DEP' has been prepared."
@ -73,7 +73,7 @@ do
cd $BUNDLE_DIR cd $BUNDLE_DIR
echo "Building overlay bundle '$BUNDLE'..." echo "Building overlay bundle '$BUNDLE'."
$BUNDLE_SCRIPT $BUNDLE_SCRIPT
cd $SRC_DIR cd $SRC_DIR

View File

@ -4,7 +4,7 @@ set -e
SRC_DIR=$(pwd) SRC_DIR=$(pwd)
echo "Cleaning up the overlay work area. This may take a while..." echo "Cleaning up the overlay work area. This may take a while."
rm -rf ../work/overlay rm -rf ../work/overlay
rm -rf ../work/overlay_rootfs rm -rf ../work/overlay_rootfs

View File

@ -169,7 +169,7 @@ echo -e "Mount locations \\e[94m/dev\\e[0m, \\e[94m/sys\\e[0m, \\e[94m/tmp\\e[0m
echo "Switching from initramfs root area to overlayfs root area." echo "Switching from initramfs root area to overlayfs root area."
exec switch_root /mnt /etc/03_init.sh exec switch_root /mnt /etc/03_init.sh
echo "(/etc/02_overlay.sh) - there is a serious bug..." echo "(/etc/02_overlay.sh) - there is a serious bug."
# Wait until any key has been pressed. # Wait until any key has been pressed.
read -n1 -s read -n1 -s

View File

@ -59,7 +59,7 @@ else
fi fi
fi fi
echo "(/etc/03_init.sh) - there is a serious bug..." echo "(/etc/03_init.sh) - there is a serious bug."
# Wait until any key has been pressed. # Wait until any key has been pressed.
read -n1 -s read -n1 -s

View File

@ -1,8 +1,8 @@
::sysinit:/etc/04_bootscript.sh ::sysinit:/etc/04_bootscript.sh
::restart:/sbin/init ::restart:/sbin/init
::shutdown:echo -e "\nSync all file buffers..." ::shutdown:echo -e "\nSyncing all file buffers."
::shutdown:sync ::shutdown:sync
::shutdown:echo "Unmount all filesystems..." ::shutdown:echo "Unmounting all filesystems."
::shutdown:umount -a -r ::shutdown:umount -a -r
::shutdown:echo -e "\n \\e[1mSee you soon!\\e[0m\n" ::shutdown:echo -e "\n \\e[1mSee you soon!\\e[0m\n"
::shutdown:sleep 1 ::shutdown:sleep 1

View File

@ -51,7 +51,7 @@ fi
# the script '/etc/03_init.sh' as the new init process. # the script '/etc/03_init.sh' as the new init process.
exec /etc/02_overlay.sh exec /etc/02_overlay.sh
echo "(/init) - you can never see this unless there is a serious bug..." echo "(/init) - you can never see this unless there is a serious bug."
# Wait until any key has been pressed. # Wait until any key has been pressed.
read -n1 -s read -n1 -s