##// END OF EJS Templates
-Enable_nonfree no longer enables non-free packages while install. now it enables non free packacges in sources.list...
-Enable_nonfree no longer enables non-free packages while install. now it enables non free packacges in sources.list -Fix: check for kernel_threads -Fix: Cryptfs Kernel parameters -Renamed: Kernel_reduce renamed for better varaible grouping to Reduce_kernel -Fix: defaultgov check in 13-kernel.sh -Dropped: Enable_DHCP - now seperated in Enable_eth_dhcp and enable_wifi_dhcp -Feature: Dhcp and static configuration of both wired and wifi interface -Feature: added uart_2ndstage=1 for even more uart output in early stages -Renamed: eth.network and wlan.network to eth0 and wlan0 -Improve: sanity check for stattic ip -Renamed: Enable_SSHD to SSH_Enable for better variable gouping -Renamed PASSWORD to ROOT_PASSWORD for better distinction with USER_PASSWORD -Improved: Enable_dbus check on firstboot (generate-machineid) -improved: Reduce if ipv6 disable remove xtables -Improved: recomend $Release if xorg is enabled on some rpi models -Install wpasupplicant if Enabled_wireless is true -Reorder key:value in rpi23-gen-image.sh -fixing some wrong var assingments and missing declarations in rpi23-gen-image.sh -updated precompiled kernel links - changed the following default values: "Reduce_*,cryptfs_keysize (support for 0 and 1),rpi_model" - added a complete config (rpi3buster-fullconfig) in sync with new order of key:value in rpi23-gen-image.sh thx to trampeltier@fsfe for testing a lot!

Fichier de la dernière révision:

r732:4551fcf06923
r732:4551fcf06923
Show More
10-bootstrap.sh
42 lines | 1.3 KiB | application/x-sh | BashLexer
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 #
# Debootstrap basic system
#
Jan Wagner
spliting more files, fix-uboot, fix-fbturbo, fix-locale
r67 # Load utility functions
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 . ./functions.sh
drtyhlpr
Added ENABLE_NONFREE support and more
r91 VARIANT=""
COMPONENTS="main"
# Use non-free Debian packages if needed
Unknown
-Enable_nonfree no longer enables non-free packages while install. now it enables non free packacges in sources.list...
r732 # One use variable which is only needed by wifi firmware blob => reworked to use non free in /etc/apt/sources.list - we could just use ENABLE_WIRELESS here
if [ "$ENABLE_WIRELESS" = true ] ; then
drtyhlpr
fixed: ENABLE_NONFREE
r226 COMPONENTS="main,non-free,contrib"
drtyhlpr
Added ENABLE_NONFREE support and more
r91 fi
# Use minbase bootstrap variant which only includes essential packages
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 if [ "$ENABLE_MINBASE" = true ] ; then
drtyhlpr
Added ENABLE_NONFREE support and more
r91 VARIANT="--variant=minbase"
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 fi
drtyhlpr
Added ENABLE_NONFREE support and more
r91 # Base debootstrap (unpack only)
Unknown
Refactor...
r375 http_proxy=${APT_PROXY} debootstrap ${APT_EXCLUDES} --arch="${RELEASE_ARCH}" --foreign ${VARIANT} --components="${COMPONENTS}" --include="${APT_INCLUDES}" "${RELEASE}" "${R}" "http://${APT_SERVER}/debian"
drtyhlpr
Added ENABLE_NONFREE support and more
r91
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 # Copy qemu emulator binary to chroot
Justin Friel
change qemu permissions in the chroot environment so that the _apt user can execute commands.
r151 install -m 755 -o root -g root "${QEMU_BINARY}" "${R}${QEMU_BINARY}"
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Copy debian-archive-keyring.pgp
Jan Wagner
fix: ENABLE_CRYPTFS -> UBOOT, SPLITFS, EXPANDROOT - cleanup
r82 mkdir -p "${R}/usr/share/keyrings"
install_readonly /usr/share/keyrings/debian-archive-keyring.gpg "${R}/usr/share/keyrings/debian-archive-keyring.gpg"
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Complete the bootstrapping process
chroot_exec /debootstrap/debootstrap --second-stage
# Mount required filesystems
Jan Wagner
fix: ENABLE_CRYPTFS -> UBOOT, SPLITFS, EXPANDROOT - cleanup
r82 mount -t proc none "${R}/proc"
mount -t sysfs none "${R}/sys"
drtyhlpr
Added Debian stretch release support
r92
# Mount pseudo terminal slave if supported by Debian release
if [ -d "${R}/dev/pts" ] ; then
mount --bind /dev/pts "${R}/dev/pts"
fi