From 68a01813ccbf9f61baaa533488f17e6838a03efe Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 13:31:54 +0200 Subject: export-image 02-network: Clean resolv.conf and do not add GOOG 8.8.8.8 NS (security risk) --- export-image/02-network/01-run.sh | 5 ++++- export-image/02-network/files/resolv.conf | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 export-image/02-network/files/resolv.conf diff --git a/export-image/02-network/01-run.sh b/export-image/02-network/01-run.sh index 4150732..5deac86 100755 --- a/export-image/02-network/01-run.sh +++ b/export-image/02-network/01-run.sh @@ -1,3 +1,6 @@ #!/bin/bash -e -install -m 644 files/resolv.conf "${ROOTFS_DIR}/etc/" +# cleanup resolv.conf +rm -f "${ROOTFS_DIR}/etc/resolv.conf" +touch "${ROOTFS_DIR}/etc/resolv.conf" +chmod 644 "${ROOTFS_DIR}/etc/resolv.conf" diff --git a/export-image/02-network/files/resolv.conf b/export-image/02-network/files/resolv.conf deleted file mode 100644 index cae093a..0000000 --- a/export-image/02-network/files/resolv.conf +++ /dev/null @@ -1 +0,0 @@ -nameserver 8.8.8.8 -- cgit v1.2.3 From 97e7a84d0b3c62d68d8111269eee4e9201989a69 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 13:32:50 +0200 Subject: export-image finalize: ROOTFS_RO: Don't produce sdcard zip file, be a bit more verbode when sdcard is done --- export-image/04-finalise/01-run.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index c7ffea6..ae688f3 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -144,12 +144,15 @@ fi mv "$IMG_FILE" "$DEPLOY_DIR2/" if [ "${ROOTFS_RO}" = "1" ] ; then - ( cd "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX}"; zip -r0 "../${IMG_FILENAME}${IMG_SUFFIX}.sdcard.zip" . ) + # for now, not zipping the sdcard folder, as we further postprocess it + # ( cd "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX}"; zip -r0 "../${IMG_FILENAME}${IMG_SUFFIX}.sdcard.zip" . ) - mv "$IMG_FILE_ROOT_EXT4" "$DEPLOY_DIR2/" - #mv "$IMG_FILE_ROOT_SQFS_GZ" "$DEPLOY_DIR2/" - mv "$IMG_FILE_ROOT_SQFS_LZO" "$DEPLOY_DIR2/" - #mv "$IMG_FILE_ROOT_SQFS_ZSTD" "$DEPLOY_DIR2/" + echo "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX} done." + + mv -v "$IMG_FILE_ROOT_EXT4" "$DEPLOY_DIR2/" + #mv -v "$IMG_FILE_ROOT_SQFS_GZ" "$DEPLOY_DIR2/" + mv -v "$IMG_FILE_ROOT_SQFS_LZO" "$DEPLOY_DIR2/" + #mv -v "$IMG_FILE_ROOT_SQFS_ZSTD" "$DEPLOY_DIR2/" fi rm -f "${STAGE_WORK_DIR}/SHA256SUMS" -- cgit v1.2.3 From 6cd0612e3f511c7455ab72e23e694086db8e938d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 13:33:44 +0200 Subject: stage2 01-sys-tweak: ROOTFS_RO simplified initrd.img scripting --- stage2/01-sys-tweaks/01-run.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 34cee22..4077172 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -226,13 +226,7 @@ on_chroot < Date: Thu, 22 Jul 2021 13:34:15 +0200 Subject: stage_rescue: Remove escape chars in comment --- stage_rescue/00-install-packages/01-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage_rescue/00-install-packages/01-run.sh b/stage_rescue/00-install-packages/01-run.sh index 71a5620..b39a924 100755 --- a/stage_rescue/00-install-packages/01-run.sh +++ b/stage_rescue/00-install-packages/01-run.sh @@ -28,7 +28,7 @@ on_chroot < Date: Thu, 22 Jul 2021 13:34:40 +0200 Subject: LICENSE: Add Zafena AB and Gothel... --- LICENSE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LICENSE b/LICENSE index a50089f..240f6d9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,6 @@ Copyright (c) 2015 Raspberry Pi (Trading) Ltd. +Copyright (c) 2021 ZAFENA AB +Copyright (c) 2021 Gothel Software e.K. All rights reserved. -- cgit v1.2.3 From 858f9abf499b8bd63cdb9baaec3ff716cfd5d104 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 13:36:26 +0200 Subject: Add lightxdev (mutable images) config files for debian-amd64 --- scripts/01-build-debian_amd64-rw-lightxdev-jau.cfg | 48 ++++++++++++++++++++++ scripts/01-build-debian_amd64-rw-lightxdev.cfg | 47 +++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 scripts/01-build-debian_amd64-rw-lightxdev-jau.cfg create mode 100644 scripts/01-build-debian_amd64-rw-lightxdev.cfg diff --git a/scripts/01-build-debian_amd64-rw-lightxdev-jau.cfg b/scripts/01-build-debian_amd64-rw-lightxdev-jau.cfg new file mode 100644 index 0000000..25feaa6 --- /dev/null +++ b/scripts/01-build-debian_amd64-rw-lightxdev-jau.cfg @@ -0,0 +1,48 @@ +#! /bin/bash + +export TARGET_RASPI="0" +export TARGET_ARCH="amd64" + +export RELEASE=bullseye +# export RELEASE=buster + +# Produce a read-only rootfs +# export ROOTFS_RO=1 +# export REDUCED_FOOTPRINT=1 + +export APT_PROXY=http://jordan:3142 + +export CUSTOM_NAME="DebAmd64LightDev" +export CUSTOM_VERSION="1.2-rw" + +export PI_GEN="pi-gen (custom branch)" + +export IMG_NAME="${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}" +export WORK_DIR="/data/${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}-work" +export IMG_FILENAME=${IMG_NAME} + +export DEPLOY_DIR=/data/diskimages +export DEPLOY_ZIP=0 + +#export USE_QEMU=1 + +export TARGET_HOSTNAME=deb11amd64 + +export LOCALE_DEFAULT=en_US.UTF-8 +export KEYBOARD_KEYMAP=us +export KEYBOARD_LAYOUT="English (US)" +export TIMEZONE_DEFAULT="Europe/Berlin" + +export FIRST_USER_NAME="pi" +export FIRST_USER_PASS="pi" +export ENABLE_SSH=1 +export PUBKEY_SSH_FIRST_USER="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAm2qfo3uiWT9V7E/sH6unVO6XhGHeNnGUswxuADwFAKyflJq2yCALWIX7+DzEhBc7O9HxVztZAHLA+lfEpctQkA7KPgX98rjLHJlrm1lQXCPjwWjTZBrGNCmjWpYkc8jew/BzngmiwDlshYqzp0rWKNvQbkGJaVctqaraJAzE3F2wa+KkSBQuw2rAhiarbiO4MtO1AIw25EnSXHhP9EpeTKhAniKm73q977m5wpzaU+uwoGPCIyVl+BeaGLbPPIF35PJbg4tIqG6WLy3a8++Mf5Ml8lETcYYfjh4er3CvqFLhAYcaCLPNOwkK/YT4UnYZoZ4nt0Z+JWjxeNhIuJf64neysBdgB5E5FEYP2iYH+EUjcYp7YCrl/3/ag4Z2KAsF2qEa6/+s90Clm0r2mqRcQyLYQ6Co1YlYa1/jq7qsiuNgWvn5Mg8Pt4+L/C0KoycvUr4HhTS8EBJx+774p2uBa3mB65Vg2llKb8DdtQwR1bh0Ot9cjKTJY0pDyPiFbemZh2q7qD958bsOZCly43WYRd6E0Df68Q2MTz6ZC1y+z103gsEiK8bXmZp42ghDa96Ik2JO6pWCEUjBJ/9+rdudRHcfDlBqoS6+wg/z+WvtRtEyvVO4LSTrsX5xHWzVloSZeAGowmLbxGWHGWfl5oCcNfUzXo0lXDP0bzyy5NxWkpE= sven@phalanx" +export PUBKEY2_SSH_FIRST_USER="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+pMJr432NOaDKnVN9+KDARU3XPDCMcwlsDdFHAEuVIGiNE2yxsC+UVKqu2+ZWKIlNET0zW8b87WsWVwiTa58lkxVre3g9DYAXpV7HPsf0bpTmzKqfPUC2z52aISluH/+Mf5FlytqFgpzx1VxREjvAw2H0GFE2K7+GsVcDFxjd5hv81FVAO9KISFnVVP9i+mSR7P4QOUYmXMw7Zq1z6hjXAGxXupEx8p/6KCqgo1tdVQBefJNOJpCABDI0yHgRsXnm7CUv1a/vM7QfCsn1hugcEGilacBLBcQp6EhXvleavX3ixffNV9RmOO0X06/EVwBtgal9aH375XABWihUi3EkRvfRqo07eieWzTIj6gO+AhZmuu4X/o53W5BG+cgMRV/+VGsLijH6jdvVv9W+motjX16TSHbSBHFaiwFyreAFi/A7WiUqdcbe12nnUsHlumhJSAIynCHKy6hgFEuGQFdENcudCgNMF7SDQEB52TwiO6BZuP6VHw4nNqxm+sbmKjgKi5vTrzIe7JkuRX+eIZLFZifFS7kfIRfQY67sCerTYsnC0Y0muX+VixKG3FIL6iSlF3KLOd41LPVNmBbpZK7oC62qrXBhvgA2d9D92o5rzqFCA6obEYiEDgyN6liASJD6VFNey366FyZzsf2U2dUeHFkyUxY0EEEFNeoOPhF5SQ== xerxes@gudinna.com" +export PUBKEY_ONLY_SSH=1 + +export STAGE_LIST="stage0 stage1 stage2 stage3a stage3a_dev" +#export SKIP_STAGE_LIST="stage0 stage1 stage2 stage3a stage3a_dev" + +#export SKIP_IMAGES_LIST="stage2 stage3a stage3a_dev" +export SKIP_IMAGES_LIST="stage2 stage3a" + diff --git a/scripts/01-build-debian_amd64-rw-lightxdev.cfg b/scripts/01-build-debian_amd64-rw-lightxdev.cfg new file mode 100644 index 0000000..cc95db5 --- /dev/null +++ b/scripts/01-build-debian_amd64-rw-lightxdev.cfg @@ -0,0 +1,47 @@ +#! /bin/bash + +export TARGET_RASPI="0" +export TARGET_ARCH="amd64" + +export RELEASE=bullseye +# export RELEASE=buster + +# Produce a read-only rootfs +# export ROOTFS_RO=1 +# export REDUCED_FOOTPRINT=1 + +# export APT_PROXY=http://jordan:3142 + +export CUSTOM_NAME="DebAmd64LightDev" +export CUSTOM_VERSION="1.2-rw" + +export PI_GEN="pi-gen (custom branch)" + +export IMG_NAME="${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}" +export WORK_DIR="/data/${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}-work" +export IMG_FILENAME=${IMG_NAME} + +export DEPLOY_DIR=/data/diskimages +export DEPLOY_ZIP=0 + +#export USE_QEMU=1 + +export TARGET_HOSTNAME=deb11amd64 + +export LOCALE_DEFAULT=en_US.UTF-8 +export KEYBOARD_KEYMAP=us +export KEYBOARD_LAYOUT="English (US)" +export TIMEZONE_DEFAULT="Europe/Berlin" + +export FIRST_USER_NAME="pi" +export FIRST_USER_PASS="pi" +export ENABLE_SSH=1 +# export PUBKEY_SSH_FIRST_USER="ssh-rsa long-number my@machine" +# export PUBKEY_ONLY_SSH=1 + +export STAGE_LIST="stage0 stage1 stage2 stage3a stage3a_dev" +#export SKIP_STAGE_LIST="stage0 stage1 stage2 stage3a stage3a_dev" + +#export SKIP_IMAGES_LIST="stage2 stage3a stage3a_dev" +export SKIP_IMAGES_LIST="stage2 stage3a" + -- cgit v1.2.3 From 4440a56c6b3f095c415a003534c770f296499deb Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 14:24:19 +0200 Subject: export-image 04-finalize: Export the ext4-rootfs partition image for mutable rootfs as well --- export-image/04-finalise/01-run.sh | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/export-image/04-finalise/01-run.sh b/export-image/04-finalise/01-run.sh index ae688f3..cdaadc3 100755 --- a/export-image/04-finalise/01-run.sh +++ b/export-image/04-finalise/01-run.sh @@ -83,15 +83,13 @@ install -m 644 "${ROOTFS_DIR}/etc/rpi-issue" "${ROOTFS_DIR}/boot/issue.txt" cp "$ROOTFS_DIR/etc/rpi-issue" "$INFO_FILE" -if [ "${ROOTFS_RO}" = "1" ] ; then - cp "$INFO_FILE" "$INFO_FILE_ROOT" - echo >> "$INFO_FILE_ROOT" - echo "+++" >> "$INFO_FILE_ROOT" - echo >> "$INFO_FILE_ROOT" - echo "Root Partition `basename $IMG_FILE_ROOT_EXT4`" >> "$INFO_FILE_ROOT" - echo "Root Partition of `basename $IMG_FILE`" >> "$INFO_FILE_ROOT" - echo >> "$INFO_FILE_ROOT" -fi +cp "$INFO_FILE" "$INFO_FILE_ROOT" +echo >> "$INFO_FILE_ROOT" +echo "+++" >> "$INFO_FILE_ROOT" +echo >> "$INFO_FILE_ROOT" +echo "Root Partition `basename $IMG_FILE_ROOT_EXT4`" >> "$INFO_FILE_ROOT" +echo "Root Partition of `basename $IMG_FILE`" >> "$INFO_FILE_ROOT" +echo >> "$INFO_FILE_ROOT" rm -rf "${DEPLOY_DIR2}" mkdir -p "${DEPLOY_DIR2}" @@ -149,11 +147,11 @@ if [ "${ROOTFS_RO}" = "1" ] ; then echo "${DEPLOY_DIR2}/sdcard${IMG_SUFFIX} done." - mv -v "$IMG_FILE_ROOT_EXT4" "$DEPLOY_DIR2/" #mv -v "$IMG_FILE_ROOT_SQFS_GZ" "$DEPLOY_DIR2/" mv -v "$IMG_FILE_ROOT_SQFS_LZO" "$DEPLOY_DIR2/" #mv -v "$IMG_FILE_ROOT_SQFS_ZSTD" "$DEPLOY_DIR2/" fi +mv -v "$IMG_FILE_ROOT_EXT4" "$DEPLOY_DIR2/" rm -f "${STAGE_WORK_DIR}/SHA256SUMS" ( cd "${DEPLOY_DIR2}"; find . -maxdepth 1 -type f -exec sha256sum -b \{\} >> "${STAGE_WORK_DIR}/SHA256SUMS" \; ) -- cgit v1.2.3 From 0ae1dca5a6a44229a9dcc520c702efba7a7a8570 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 14:29:00 +0200 Subject: stage2 01-sys-tweak: resize2fs_once: Resolve systemd dependency; Script now uses systemctl to disable itself, also use mv instead of deletion --- stage2/01-sys-tweaks/files/resize2fs_once | 5 +++-- stage2/01-sys-tweaks/files/resize2fs_once.service | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/stage2/01-sys-tweaks/files/resize2fs_once b/stage2/01-sys-tweaks/files/resize2fs_once index f8e45a6..d4d5e39 100755 --- a/stage2/01-sys-tweaks/files/resize2fs_once +++ b/stage2/01-sys-tweaks/files/resize2fs_once @@ -37,8 +37,9 @@ case "$1" in else echo "ROOT_DEV ${ROOT_DEV} not a substring of ROOT_PART ${ROOT_PART}." fi - update-rc.d resize2fs_once remove - rm -f /etc/init.d/resize2fs_once + systemctl disable resize2fs_once + systemctl mask resize2fs_once + mv /etc/init.d/resize2fs_once /etc/init.d/resize2fs_once.disabled log_end_msg $? ;; *) diff --git a/stage2/01-sys-tweaks/files/resize2fs_once.service b/stage2/01-sys-tweaks/files/resize2fs_once.service index 0c755a8..c3f9307 100644 --- a/stage2/01-sys-tweaks/files/resize2fs_once.service +++ b/stage2/01-sys-tweaks/files/resize2fs_once.service @@ -1,8 +1,8 @@ [Unit] Description=Resize the root filesystem to fill partition DefaultDependencies=no -After=systemd-udevd.service -Before=systemd-remount-fs.service systemd-random-seed.service systemd-journald.service local-fs-pre.target sysinit.target +After= +Before=systemd-remount-fs.service local-fs-pre.target sysinit.target [Service] Type=oneshot -- cgit v1.2.3 From 3109247b830f11a214dad8fcec5c0a50cc7f5525 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 14:29:35 +0200 Subject: stage2 01-sys-tweak: Never use raspi only 'regenerate_ssh_host_keys' --- stage2/01-sys-tweaks/01-run.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 4077172..7caf1e7 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -75,13 +75,8 @@ on_chroot << EOF systemctl disable ssh systemctl mask ssh fi - if [ "${ROOTFS_RO}" = "1" ] ; then - systemctl disable regenerate_ssh_host_keys - systemctl mask regenerate_ssh_host_keys - else - systemctl unmask regenerate_ssh_host_keys - systemctl enable regenerate_ssh_host_keys - fi + systemctl disable regenerate_ssh_host_keys + systemctl mask regenerate_ssh_host_keys if [ "${ROOTFS_RO}" = "1" ] ; then sed -i -e 's/^D \/tmp/#D \/tmp/g' /usr/lib/tmpfiles.d/tmp.conf @@ -267,7 +262,3 @@ on_chroot < Date: Thu, 22 Jul 2021 19:27:48 +0200 Subject: make_bootable_image: Mutable images require UUID in fstab and kernel cmdline for raspi Hence also fix BOOT_FSTYPE on fstab for mutable images (remount ro -> rw). --- scripts/qcow2_handling | 31 +++++++++++++++--------------- stage2/01-sys-tweaks/01-run.sh | 4 ++++ stage2/01-sys-tweaks/files/fstab-rootfs_rw | 3 +++ 3 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 stage2/01-sys-tweaks/files/fstab-rootfs_rw diff --git a/scripts/qcow2_handling b/scripts/qcow2_handling index 770d074..e996e8f 100644 --- a/scripts/qcow2_handling +++ b/scripts/qcow2_handling @@ -394,7 +394,21 @@ function make_bootable_image() { exit 1 fi - if false ; then + if [ "${ROOTFS_RO}" = "1" ] ; then + echo "Setup hard devicenames" + BOOT_DEV_NAME="\/dev\/mmcblk0p1" + echo "Boot: $BOOT_DEV_NAME" + ROOT_DEV_NAME="\/dev\/mmcblk0p2" + echo "Root1: $ROOT_DEV_NAME" + + echo "Set hard device names in fstab (rootfs ro -> /boot uncommented)" + sed -i "s/BOOTDEV/${BOOT_DEV_NAME}/" "${MOUNTROOT}/etc/fstab" + sed -i "s/ROOTDEV/${ROOT_DEV_NAME}/" "${MOUNTROOT}/etc/fstab" + if [ "${TARGET_RASPI}" = "1" ]; then + echo "Set rootfs ro hard device name in cmdline, required" + sed -i "s/ROOTDEV/${ROOT_DEV_NAME}/" "${MOUNTROOT}/boot/sys_${TARGET_ARCH}_000/cmdline.txt" + fi + else echo "Setup PARTUUIDs" BOOT_PARTUUID="${IMGID}-01" echo "Boot: $BOOT_PARTUUID" @@ -402,26 +416,13 @@ function make_bootable_image() { echo "Root1: $ROOT_PARTUUID" if [ ! -z "$BOOT_PARTUUID" ] && [ ! -z "$ROOT_PARTUUID" ]; then - echo "Set UUIDs to make it bootable" + echo "Set UUIDs to make it bootable, required." sed -i "s/BOOTDEV/PARTUUID=${BOOT_PARTUUID}/" "${MOUNTROOT}/etc/fstab" sed -i "s/ROOTDEV/PARTUUID=${ROOT_PARTUUID}/" "${MOUNTROOT}/etc/fstab" if [ "${TARGET_RASPI}" = "1" ]; then sed -i "s/ROOTDEV/PARTUUID=${ROOT_PARTUUID}/" "${MOUNTROOT}/boot/sys_${TARGET_ARCH}_000/cmdline.txt" fi fi - else - echo "Setup hard devicenames" - BOOT_DEV_NAME="\/dev\/mmcblk0p1" - echo "Boot: $BOOT_DEV_NAME" - ROOT_DEV_NAME="\/dev\/mmcblk0p2" - echo "Root1: $ROOT_DEV_NAME" - - echo "Set hard device names to make it bootable" - sed -i "s/BOOTDEV/${BOOT_DEV_NAME}/" "${MOUNTROOT}/etc/fstab" - sed -i "s/ROOTDEV/${ROOT_DEV_NAME}/" "${MOUNTROOT}/etc/fstab" - if [ "${TARGET_RASPI}" = "1" ]; then - sed -i "s/ROOTDEV/${ROOT_DEV_NAME}/" "${MOUNTROOT}/boot/sys_${TARGET_ARCH}_000/cmdline.txt" - fi fi echo "Umount image ${EXPORT_IMAGE}" diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 7caf1e7..5749f8e 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -2,6 +2,8 @@ if [ "${ROOTFS_RO}" = "1" ] ; then install -v -m 644 files/fstab-rootfs_ro "${ROOTFS_DIR}/etc/fstab" +else + install -v -m 644 files/fstab-rootfs_rw "${ROOTFS_DIR}/etc/fstab" fi install -m 644 files/overlay_mount.service "${ROOTFS_DIR}/lib/systemd/system/" install -m 755 files/overlay_mount "${ROOTFS_DIR}/etc/init.d/" @@ -54,6 +56,8 @@ on_chroot << EOF # without having a live mapping in /etc/fstab. systemctl disable systemd-remount-fs systemctl mask systemd-remount-fs + else + sed -i "s/vfat/${BOOT_FSTYPE}/g" /etc/fstab fi systemctl disable rsync diff --git a/stage2/01-sys-tweaks/files/fstab-rootfs_rw b/stage2/01-sys-tweaks/files/fstab-rootfs_rw new file mode 100644 index 0000000..5a4df6b --- /dev/null +++ b/stage2/01-sys-tweaks/files/fstab-rootfs_rw @@ -0,0 +1,3 @@ +proc /proc proc defaults 0 0 +BOOTDEV /boot vfat defaults 0 2 +ROOTDEV / ext4 defaults,noatime,errors=remount-ro 0 0 -- cgit v1.2.3 From 7994a6ebee8c3dba909b36da64ce4c8100f36238 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 19:29:00 +0200 Subject: mutable images: Boot in verbose mode for generic stage targets to observe ... --- stage2/01-sys-tweaks/01-run.sh | 5 ++++- stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 5749f8e..c163bbb 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -15,7 +15,7 @@ install -m 755 files/rotatelog_init_rootfs "${ROOTFS_DIR}/etc/init.d/" install -m 644 files/resize2fs_once.service "${ROOTFS_DIR}/lib/systemd/system/" install -m 755 files/resize2fs_once "${ROOTFS_DIR}/etc/init.d/" -install -d "${ROOTFS_DIR}/etc/systemd/system/rc-local.service.d" +install -d "${ROOTFS_DIR}/etc/systemd/system/rc-local.service.d" install -m 644 files/ttyoutput.conf "${ROOTFS_DIR}/etc/systemd/system/rc-local.service.d/" if [ "${TARGET_RASPI}" = "1" ]; then @@ -199,10 +199,13 @@ if [ "${ROOTFS_RO}" = "1" ] ; then install -m 755 files/initramfs/fsck_custom "${ROOTFS_DIR}/etc/initramfs-tools/hooks/" install -m 755 files/initramfs/extra_execs "${ROOTFS_DIR}/etc/initramfs-tools/hooks/" else + # Mutable rootfs if [ "${TARGET_RASPI}" = "1" ]; then install -m 644 files/boot/config-rootfs_rw.txt "${ROOTFS_DIR}/boot/config.txt" install -m 644 files/boot/config-rootfs_rw.txt "${ROOTFS_DIR}/boot/sys_${TARGET_ARCH}_000/config.txt" install -m 644 files/boot/sys_arm64_000/cmdline-rootfs_rw.txt "${ROOTFS_DIR}/boot/sys_${TARGET_ARCH}_000/cmdline.txt" + else + sed -i 's/quiet//g' "${ROOTFS_DIR}/etc/default/grub" fi fi diff --git a/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt b/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt index 42962cc..79ccf3b 100755 --- a/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt +++ b/stage2/01-sys-tweaks/files/boot/sys_arm64_000/cmdline-rootfs_rw.txt @@ -1 +1 @@ -dwc_otg.lpm_enable=0 console=tty3 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 logo.nologo splash quiet plymouth.ignore-serial-consoles vt.global_cursor_default=0 +dwc_otg.lpm_enable=0 console=tty3 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait -- cgit v1.2.3 From 6bafdbead3f434c9a10891f75a012c881aa57974 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 19:30:38 +0200 Subject: stage2 mutable image: Fix resize2fs once: 'parted resizepart' needs fake tty input; Place service after rw-remount --- stage2/01-sys-tweaks/files/resize2fs_manual.sh | 17 ++++++++++++++ stage2/01-sys-tweaks/files/resize2fs_once | 28 ++++++++++++++++------- stage2/01-sys-tweaks/files/resize2fs_once.service | 6 ++--- 3 files changed, 40 insertions(+), 11 deletions(-) create mode 100644 stage2/01-sys-tweaks/files/resize2fs_manual.sh diff --git a/stage2/01-sys-tweaks/files/resize2fs_manual.sh b/stage2/01-sys-tweaks/files/resize2fs_manual.sh new file mode 100644 index 0000000..c7500b6 --- /dev/null +++ b/stage2/01-sys-tweaks/files/resize2fs_manual.sh @@ -0,0 +1,17 @@ + +ROOTFS_DIR= + +if true ; then + +install -m 644 resize2fs_once.service "${ROOTFS_DIR}/lib/systemd/system/" +install -m 755 resize2fs_once "${ROOTFS_DIR}/etc/init.d/" + +systemctl unmask resize2fs_once +systemctl enable resize2fs_once + +else + +systemctl disable resize2fs_once +systemctl mask resize2fs_once + +fi diff --git a/stage2/01-sys-tweaks/files/resize2fs_once b/stage2/01-sys-tweaks/files/resize2fs_once index d4d5e39..dbeba59 100755 --- a/stage2/01-sys-tweaks/files/resize2fs_once +++ b/stage2/01-sys-tweaks/files/resize2fs_once @@ -17,19 +17,30 @@ case "$1" in ROOT_DEV="/dev/${ROOT_DEV_BASE}" # Test ROOT_DEV deduction: (1) ROOT_DEV substring of ROOT_PART starting equal if [ -n "${ROOT_PART} -a -n "${ROOT_DEV} -a -z "${ROOT_PART##"${ROOT_DEV}"*}" ]; then - PARTED_OUT=`parted -s -m $ROOT_DEV unit B print` + PARTED_OUT=`parted -s -m ${ROOT_DEV} unit B print` PART_NO=`echo "$PARTED_OUT" | grep ext4 | awk -F: ' { print $1 } '` # Test ROOT_DEV deduction: (2) identified partition number if [ "${ROOT_PART}" = "${ROOT_DEV}p${PART_NO}" -o "${ROOT_PART}" = "${ROOT_DEV}${PART_NO}" ]; then + PART_START=`echo "${PARTED_OUT}" | grep "^${PART_NO}:" | awk -F: ' { print substr($2,1,length($2)-1) } '` PART_END=`echo "${PARTED_OUT}" | grep "^${PART_NO}:" | awk -F: ' { print substr($3,1,length($3)-1) } '` - PART_NEW_END=`parted -s -m $ROOT_DEV unit B print free | tail -1 | awk -F: ' { print substr($3,1,length($3)-1) } '` + PART_NEW_END=`parted -s -m ${ROOT_DEV} unit B print free | tail -1 | awk -F: ' { print substr($3,1,length($3)-1) } '` if [ -n "${PART_END}" -a -n "${PART_NEW_END}" -a ${PART_NEW_END} -gt ${PART_END} ]; then - echo "Resize partition ${PART_NO} from ${PART_END} to ${PART_NEW_END}" - parted -s $ROOT_DEV unit B resizepart ${PART_NO} ${PART_NEW_END} + echo "Resize partition ${PART_NO} from ${PART_START} - ${PART_END} to ${PART_NEW_END}" + # Nope: parted -s ${ROOT_DEV} unit B resizepart ${PART_NO} ${PART_NEW_END} + # Nope: parted -s ${ROOT_DEV} rm ${PART_NO} + # Nope: parted -s ${ROOT_DEV} unit B mkpart primary ${PART_START} ${PART_NEW_END} + parted "${ROOT_DEV}" ---pretend-input-tty <= new_end ${PART_NEW_END}" fi else echo "ROOT_PART ${ROOT_PART} not matching partition ${PART_NO} of ROOT_DEV ${ROOT_DEV}." @@ -37,9 +48,10 @@ case "$1" in else echo "ROOT_DEV ${ROOT_DEV} not a substring of ROOT_PART ${ROOT_PART}." fi - systemctl disable resize2fs_once - systemctl mask resize2fs_once - mv /etc/init.d/resize2fs_once /etc/init.d/resize2fs_once.disabled + systemctl disable resize2fs_once.service + systemctl mask resize2fs_once.service + # mv /etc/init.d/resize2fs_once /etc/init.d/resize2fs_once.disabled + # mv /etc/init.d/resize2fs_disable /etc/init.d/resize2fs_disable.disabled log_end_msg $? ;; *) diff --git a/stage2/01-sys-tweaks/files/resize2fs_once.service b/stage2/01-sys-tweaks/files/resize2fs_once.service index c3f9307..b808476 100644 --- a/stage2/01-sys-tweaks/files/resize2fs_once.service +++ b/stage2/01-sys-tweaks/files/resize2fs_once.service @@ -1,8 +1,8 @@ [Unit] Description=Resize the root filesystem to fill partition DefaultDependencies=no -After= -Before=systemd-remount-fs.service local-fs-pre.target sysinit.target +After=systemd-remount-fs.service +Before=local-fs.target [Service] Type=oneshot @@ -10,6 +10,6 @@ RemainAfterExit=yes ExecStart=/etc/init.d/resize2fs_once start [Install] -WantedBy=systemd-remount-fs.service +WantedBy=local-fs.target Alias=resize2fs_once.service -- cgit v1.2.3 From e73d8effd7068f1c6e52e5756ddc307792b17511 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 22 Jul 2021 20:32:24 +0200 Subject: stage2 mutable image: Fix resize2fs_once: On raspi the scripting mode works, on amd64 not. Hence try scripting 1st and fallback to fake tty input for amd64. Tested w/ sdcard on raspi3b and pc-amd64 --- stage2/01-sys-tweaks/files/resize2fs_once | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/stage2/01-sys-tweaks/files/resize2fs_once b/stage2/01-sys-tweaks/files/resize2fs_once index dbeba59..cd42e19 100755 --- a/stage2/01-sys-tweaks/files/resize2fs_once +++ b/stage2/01-sys-tweaks/files/resize2fs_once @@ -26,10 +26,11 @@ case "$1" in PART_NEW_END=`parted -s -m ${ROOT_DEV} unit B print free | tail -1 | awk -F: ' { print substr($3,1,length($3)-1) } '` if [ -n "${PART_END}" -a -n "${PART_NEW_END}" -a ${PART_NEW_END} -gt ${PART_END} ]; then echo "Resize partition ${PART_NO} from ${PART_START} - ${PART_END} to ${PART_NEW_END}" - # Nope: parted -s ${ROOT_DEV} unit B resizepart ${PART_NO} ${PART_NEW_END} - # Nope: parted -s ${ROOT_DEV} rm ${PART_NO} - # Nope: parted -s ${ROOT_DEV} unit B mkpart primary ${PART_START} ${PART_NEW_END} - parted "${ROOT_DEV}" ---pretend-input-tty < Date: Thu, 22 Jul 2021 20:35:57 +0200 Subject: Update config scripts (remove 'Jau' and add most simple 'light' target configs) --- scripts/01-build-debian_amd64-rw-light-jau.cfg | 47 +++++++++++++++++++++++++ scripts/01-build-raspi-rw-light-jau.cfg | 47 +++++++++++++++++++++++++ scripts/01-build-raspi-rw-lightxdev-jau.cfg | 2 +- scripts/02-build-raspi-ro-smalldesk-jau.cfg | 2 +- scripts/03-build-debian_amd64-ro-rescue-jau.cfg | 2 +- 5 files changed, 97 insertions(+), 3 deletions(-) create mode 100644 scripts/01-build-debian_amd64-rw-light-jau.cfg create mode 100644 scripts/01-build-raspi-rw-light-jau.cfg diff --git a/scripts/01-build-debian_amd64-rw-light-jau.cfg b/scripts/01-build-debian_amd64-rw-light-jau.cfg new file mode 100644 index 0000000..00b3378 --- /dev/null +++ b/scripts/01-build-debian_amd64-rw-light-jau.cfg @@ -0,0 +1,47 @@ +#! /bin/bash + +export TARGET_RASPI="0" +export TARGET_ARCH="amd64" + +export RELEASE=bullseye +# export RELEASE=buster + +# Produce a read-only rootfs +# export ROOTFS_RO=1 +# export REDUCED_FOOTPRINT=1 + +export APT_PROXY=http://jordan:3142 + +export CUSTOM_NAME="DebAmd64Light" +export CUSTOM_VERSION="1.2-rw" + +export PI_GEN="pi-gen (custom branch)" + +export IMG_NAME="${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}" +export WORK_DIR="/data/${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}-work" +export IMG_FILENAME=${IMG_NAME} + +export DEPLOY_DIR=/data/diskimages +export DEPLOY_ZIP=0 + +#export USE_QEMU=1 + +export TARGET_HOSTNAME=deb11amd64 + +export LOCALE_DEFAULT=en_US.UTF-8 +export KEYBOARD_KEYMAP=us +export KEYBOARD_LAYOUT="English (US)" +export TIMEZONE_DEFAULT="Europe/Berlin" + +export FIRST_USER_NAME="pi" +export FIRST_USER_PASS="pi" +export ENABLE_SSH=1 +export PUBKEY_SSH_FIRST_USER="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAm2qfo3uiWT9V7E/sH6unVO6XhGHeNnGUswxuADwFAKyflJq2yCALWIX7+DzEhBc7O9HxVztZAHLA+lfEpctQkA7KPgX98rjLHJlrm1lQXCPjwWjTZBrGNCmjWpYkc8jew/BzngmiwDlshYqzp0rWKNvQbkGJaVctqaraJAzE3F2wa+KkSBQuw2rAhiarbiO4MtO1AIw25EnSXHhP9EpeTKhAniKm73q977m5wpzaU+uwoGPCIyVl+BeaGLbPPIF35PJbg4tIqG6WLy3a8++Mf5Ml8lETcYYfjh4er3CvqFLhAYcaCLPNOwkK/YT4UnYZoZ4nt0Z+JWjxeNhIuJf64neysBdgB5E5FEYP2iYH+EUjcYp7YCrl/3/ag4Z2KAsF2qEa6/+s90Clm0r2mqRcQyLYQ6Co1YlYa1/jq7qsiuNgWvn5Mg8Pt4+L/C0KoycvUr4HhTS8EBJx+774p2uBa3mB65Vg2llKb8DdtQwR1bh0Ot9cjKTJY0pDyPiFbemZh2q7qD958bsOZCly43WYRd6E0Df68Q2MTz6ZC1y+z103gsEiK8bXmZp42ghDa96Ik2JO6pWCEUjBJ/9+rdudRHcfDlBqoS6+wg/z+WvtRtEyvVO4LSTrsX5xHWzVloSZeAGowmLbxGWHGWfl5oCcNfUzXo0lXDP0bzyy5NxWkpE= sven@phalanx" +export PUBKEY2_SSH_FIRST_USER="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+pMJr432NOaDKnVN9+KDARU3XPDCMcwlsDdFHAEuVIGiNE2yxsC+UVKqu2+ZWKIlNET0zW8b87WsWVwiTa58lkxVre3g9DYAXpV7HPsf0bpTmzKqfPUC2z52aISluH/+Mf5FlytqFgpzx1VxREjvAw2H0GFE2K7+GsVcDFxjd5hv81FVAO9KISFnVVP9i+mSR7P4QOUYmXMw7Zq1z6hjXAGxXupEx8p/6KCqgo1tdVQBefJNOJpCABDI0yHgRsXnm7CUv1a/vM7QfCsn1hugcEGilacBLBcQp6EhXvleavX3ixffNV9RmOO0X06/EVwBtgal9aH375XABWihUi3EkRvfRqo07eieWzTIj6gO+AhZmuu4X/o53W5BG+cgMRV/+VGsLijH6jdvVv9W+motjX16TSHbSBHFaiwFyreAFi/A7WiUqdcbe12nnUsHlumhJSAIynCHKy6hgFEuGQFdENcudCgNMF7SDQEB52TwiO6BZuP6VHw4nNqxm+sbmKjgKi5vTrzIe7JkuRX+eIZLFZifFS7kfIRfQY67sCerTYsnC0Y0muX+VixKG3FIL6iSlF3KLOd41LPVNmBbpZK7oC62qrXBhvgA2d9D92o5rzqFCA6obEYiEDgyN6liASJD6VFNey366FyZzsf2U2dUeHFkyUxY0EEEFNeoOPhF5SQ== xerxes@gudinna.com" +export PUBKEY_ONLY_SSH=1 + +export STAGE_LIST="stage0 stage1 stage2" +#export SKIP_STAGE_LIST="stage0 stage1 stage2" + +#export SKIP_IMAGES_LIST="stage2" + diff --git a/scripts/01-build-raspi-rw-light-jau.cfg b/scripts/01-build-raspi-rw-light-jau.cfg new file mode 100644 index 0000000..bf1546d --- /dev/null +++ b/scripts/01-build-raspi-rw-light-jau.cfg @@ -0,0 +1,47 @@ +#! /bin/bash + +export TARGET_RASPI="1" +export TARGET_ARCH="arm64" + +export RELEASE=bullseye +# export RELEASE=buster + +# Produce a read-only rootfs +# export ROOTFS_RO=1 +# export REDUCED_FOOTPRINT=1 + +export APT_PROXY=http://jordan:3142 + +export CUSTOM_NAME="RaspiArm64Light" +export CUSTOM_VERSION="1.2-rw" + +export PI_GEN="pi-gen (jau branch)" + +export IMG_NAME="${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}" +export WORK_DIR="/data/${CUSTOM_NAME}-${CUSTOM_VERSION}-${TARGET_ARCH}-work" +export IMG_FILENAME=${IMG_NAME} + +export DEPLOY_DIR=/data/diskimages +export DEPLOY_ZIP=0 + +#export USE_QEMU=1 + +export TARGET_HOSTNAME=deb11arm64raspi + +export LOCALE_DEFAULT=en_US.UTF-8 +export KEYBOARD_KEYMAP=us +export KEYBOARD_LAYOUT="English (US)" +export TIMEZONE_DEFAULT="Europe/Berlin" + +export FIRST_USER_NAME="pi" +export FIRST_USER_PASS="pi" +export ENABLE_SSH=1 +export PUBKEY_SSH_FIRST_USER="ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAm2qfo3uiWT9V7E/sH6unVO6XhGHeNnGUswxuADwFAKyflJq2yCALWIX7+DzEhBc7O9HxVztZAHLA+lfEpctQkA7KPgX98rjLHJlrm1lQXCPjwWjTZBrGNCmjWpYkc8jew/BzngmiwDlshYqzp0rWKNvQbkGJaVctqaraJAzE3F2wa+KkSBQuw2rAhiarbiO4MtO1AIw25EnSXHhP9EpeTKhAniKm73q977m5wpzaU+uwoGPCIyVl+BeaGLbPPIF35PJbg4tIqG6WLy3a8++Mf5Ml8lETcYYfjh4er3CvqFLhAYcaCLPNOwkK/YT4UnYZoZ4nt0Z+JWjxeNhIuJf64neysBdgB5E5FEYP2iYH+EUjcYp7YCrl/3/ag4Z2KAsF2qEa6/+s90Clm0r2mqRcQyLYQ6Co1YlYa1/jq7qsiuNgWvn5Mg8Pt4+L/C0KoycvUr4HhTS8EBJx+774p2uBa3mB65Vg2llKb8DdtQwR1bh0Ot9cjKTJY0pDyPiFbemZh2q7qD958bsOZCly43WYRd6E0Df68Q2MTz6ZC1y+z103gsEiK8bXmZp42ghDa96Ik2JO6pWCEUjBJ/9+rdudRHcfDlBqoS6+wg/z+WvtRtEyvVO4LSTrsX5xHWzVloSZeAGowmLbxGWHGWfl5oCcNfUzXo0lXDP0bzyy5NxWkpE= sven@phalanx" +export PUBKEY2_SSH_FIRST_USER="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC+pMJr432NOaDKnVN9+KDARU3XPDCMcwlsDdFHAEuVIGiNE2yxsC+UVKqu2+ZWKIlNET0zW8b87WsWVwiTa58lkxVre3g9DYAXpV7HPsf0bpTmzKqfPUC2z52aISluH/+Mf5FlytqFgpzx1VxREjvAw2H0GFE2K7+GsVcDFxjd5hv81FVAO9KISFnVVP9i+mSR7P4QOUYmXMw7Zq1z6hjXAGxXupEx8p/6KCqgo1tdVQBefJNOJpCABDI0yHgRsXnm7CUv1a/vM7QfCsn1hugcEGilacBLBcQp6EhXvleavX3ixffNV9RmOO0X06/EVwBtgal9aH375XABWihUi3EkRvfRqo07eieWzTIj6gO+AhZmuu4X/o53W5BG+cgMRV/+VGsLijH6jdvVv9W+motjX16TSHbSBHFaiwFyreAFi/A7WiUqdcbe12nnUsHlumhJSAIynCHKy6hgFEuGQFdENcudCgNMF7SDQEB52TwiO6BZuP6VHw4nNqxm+sbmKjgKi5vTrzIe7JkuRX+eIZLFZifFS7kfIRfQY67sCerTYsnC0Y0muX+VixKG3FIL6iSlF3KLOd41LPVNmBbpZK7oC62qrXBhvgA2d9D92o5rzqFCA6obEYiEDgyN6liASJD6VFNey366FyZzsf2U2dUeHFkyUxY0EEEFNeoOPhF5SQ== xerxes@gudinna.com" +export PUBKEY_ONLY_SSH=1 + +export STAGE_LIST="stage0 stage1 stage2" +#export SKIP_STAGE_LIST="stage0 stage1 stage2" + +#export SKIP_IMAGES_LIST="stage2" + diff --git a/scripts/01-build-raspi-rw-lightxdev-jau.cfg b/scripts/01-build-raspi-rw-lightxdev-jau.cfg index a79c956..66c0e3a 100644 --- a/scripts/01-build-raspi-rw-lightxdev-jau.cfg +++ b/scripts/01-build-raspi-rw-lightxdev-jau.cfg @@ -12,7 +12,7 @@ export RELEASE=bullseye export APT_PROXY=http://jordan:3142 -export CUSTOM_NAME="RaspiArm64LightDevJau" +export CUSTOM_NAME="RaspiArm64LightDev" export CUSTOM_VERSION="1.2-rw" export PI_GEN="pi-gen (jau branch)" diff --git a/scripts/02-build-raspi-ro-smalldesk-jau.cfg b/scripts/02-build-raspi-ro-smalldesk-jau.cfg index 52f8ddc..35bbb00 100644 --- a/scripts/02-build-raspi-ro-smalldesk-jau.cfg +++ b/scripts/02-build-raspi-ro-smalldesk-jau.cfg @@ -12,7 +12,7 @@ export REDUCED_FOOTPRINT=1 export APT_PROXY=http://jordan:3142 -export CUSTOM_NAME="RaspiArm64SmallDeskJau" +export CUSTOM_NAME="RaspiArm64SmallDesk" export CUSTOM_VERSION="1.2-ro" export PI_GEN="pi-gen (jau branch)" diff --git a/scripts/03-build-debian_amd64-ro-rescue-jau.cfg b/scripts/03-build-debian_amd64-ro-rescue-jau.cfg index 76de7bc..5ccc5ef 100644 --- a/scripts/03-build-debian_amd64-ro-rescue-jau.cfg +++ b/scripts/03-build-debian_amd64-ro-rescue-jau.cfg @@ -12,7 +12,7 @@ export ROOTFS_RO=1 export APT_PROXY=http://jordan:3142 -export CUSTOM_NAME="DebAmd64RescueJau" +export CUSTOM_NAME="DebAmd64Rescue" export CUSTOM_VERSION="1.2-ro" export PI_GEN="pi-gen (jau branch)" -- cgit v1.2.3