Fixed the overlay bundle generation process. Added GLIBC as overlay bundle - set of all core GNU C libraries.

This commit is contained in:
Ivan Davidov 2016-05-23 22:49:17 +03:00
parent a6dbd498ac
commit 69fb870da0
3 changed files with 22 additions and 11 deletions

View File

@ -117,7 +117,7 @@ COPY_SOURCE_ISO=true
# This property defines one or more additional overlay software pieces which
# will be generated and placed in the 'work/src/minimal_overlay' folder. These
# software pieces will be visible and fully usable after boot. By default this
# property is disabled because the build process for all overlay software is
# property is disabled because the build process for most of the software is
# host specific and may not work out of the box. Note that if you build any
# overlay software and you are using sparse image file for the overlay structure
# then most probably something will go wrong because the overlay software
@ -127,10 +127,11 @@ COPY_SOURCE_ISO=true
#
# Currently available overlay software:
#
# glibc_full - all core GNU C libraries (useful if other software is included)
# links - text browser
# dropbear - SSH server and client
#
#OVERLAY_SOFTWARE=links,dropbear
#OVERLAY_SOFTWARE=glibc_full,links,dropbear
# This property enables the standard penguin boot logo in the upper left corner
# of the screen. The property is used in 'xx_build_kernel.sh'. The default value

View File

@ -40,10 +40,10 @@ else
echo "Source files and folders have been skipped."
fi
# Read the 'BUILD_OVERLAY_SOFTWARE' property from '.config'
BUILD_OVERLAY_SOFTWARE="$(grep -i ^BUILD_OVERLAY_SOFTWARE .config | cut -f2 -d'=')"
# Read the 'OVERLAY_SOFTWARE' property from '.config'
OVERLAY_SOFTWARE="$(grep -i ^OVERLAY_SOFTWARE .config | cut -f2 -d'=')"
if [ "$BUILD_OVERLAY_SOFTWARE" = "true" ] ; then
if [ ! "$OVERLAY_SOFTWARE" = "" ] ; then
echo "Generating additional overlay software. This may take a while..."
sh build_minimal_linux_overlay.sh
else

View File

@ -10,14 +10,24 @@ http://minimal.linux-bg.org
Once you have your ISO image up and running perhaps you'd like to play with the
configuration file '.config' and see what options you have there. For example
you can set the property 'BUILD_OVERLAY_SOFTWARE=true'. If you do that you will
have additional software being downloaded, built and installed on the ISO image.
you can change the property 'OVERLAY_SOFTWARE'. If you do that you will have
additional software being downloaded, built and installed on the ISO image.
Available overlay software:
Currently available overlay software:
* GLIBC - Set of all core GNU C libraries packaged together. Requires ~3MB
additional space. This overlay bundle is not host specific and
can always be built. The libraries are useful if you plan to use
more software after boot.
This overlay bundle depends on the GLIBC build process.
* Links - text based browser. Requires ~1MB additional space. Use the
'links' command to activate the browser.
This overlay bundle is self sufficient and doesn't require other
overlay bundles.
* Dropbear - SSH server/client. Requires ~1MB additional space. The build
process creates user 'root' with password 'toor'. These are
sample commands which demonstrate how to use Dropbear:
@ -25,7 +35,7 @@ Available overlay software:
SSH server (Alt + F1): dropbear -E -F
SSH client (Alt + F2): dbclient 10.0.2.15 -l root
In time there may be other overlay software packages available.
This overlay bundle depends on the GLIBC build process.
### ### ###