aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/02-build-ro-smalldesk.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-07-17 04:02:01 +0200
committerSven Gothel <[email protected]>2021-07-17 04:02:01 +0200
commit2b4a8503024e3c83ac4ed7380bddc371c8982619 (patch)
tree8b5a15f7b1d053954113be2ac46f47ac4f3a0f5c /scripts/02-build-ro-smalldesk.sh
parent5b08e3535f61ab7dde7c7651382b2095e25bc717 (diff)
multi-arch: Support vanilla Debian for 'amd64' and 'i386' architecture incl. loop_rootfs using grub (WIP)
- Generic packages: nn-packages[-RELEASE] (using the optional '-RELEASE' variant) - System packages: nn-packages-sys-(raspi|debian)[-RELEASE] (using the optional '-RELEASE' variant), allow to distinguish not only for the RELEASE but the actual underlying distribution. - On debian amd64, all required usb-storage etc modules are loaded for loop_rootfs/initrd - loop_rootfs works on Raspi (Proprietary Bootloader) as well as on Debian (Grub Bootloader) - loop_rootfs uses the first vfat block-device partition for /boot - /boot will be mounted by loop_rootfs and handed over to new root-mount-point, this avoids issues of using an undefined /boot partition (but the first) - rotatelog_init_rootfs: Rotates /boot/init_rootfs.log if having more than 500 lines - FIX export-image: Copy the rootfs.img to the exported full image, which allows testing the image directly via qemu .. etc.
Diffstat (limited to 'scripts/02-build-ro-smalldesk.sh')
-rwxr-xr-xscripts/02-build-ro-smalldesk.sh52
1 files changed, 0 insertions, 52 deletions
diff --git a/scripts/02-build-ro-smalldesk.sh b/scripts/02-build-ro-smalldesk.sh
deleted file mode 100755
index 1006590..0000000
--- a/scripts/02-build-ro-smalldesk.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#! /bin/sh
-
-sdir=`dirname $(readlink -f $0)`
-rootdir=`dirname $sdir`
-
-export CUSTOM_NAME="MyMachine"
-export CUSTOM_VERSION="1.1-ro"
-
-export PI_GEN="pi-gen (custom branch)"
-
-export RELEASE=bullseye
-# export RELEASE=buster
-
-export TARGET_ARCH="arm64"
-
-# export APT_PROXY=http://jordan:3142
-
-# Produce a read-only rootfs
-export ROOTFS_RO=1
-export REDUCED_FOOTPRINT=1
-
-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=raspi04
-
-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 stage3b stage4 stage5"
-export STAGE_LIST="stage0 stage1 stage2 stage3a stage3b"
-
-touch ${rootdir}/stage2/SKIP_IMAGES
-touch ${rootdir}/stage3a/SKIP_IMAGES
-# touch ${rootdir}/stage3b/SKIP_IMAGES
-# touch ${rootdir}/stage4/SKIP_IMAGES
-
-./build.sh