diff options
author | Sven Gothel <[email protected]> | 2021-07-17 04:02:01 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-07-17 04:02:01 +0200 |
commit | 2b4a8503024e3c83ac4ed7380bddc371c8982619 (patch) | |
tree | 8b5a15f7b1d053954113be2ac46f47ac4f3a0f5c /stage4/04-enable-xcompmgr/00-run.sh | |
parent | 5b08e3535f61ab7dde7c7651382b2095e25bc717 (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 'stage4/04-enable-xcompmgr/00-run.sh')
-rwxr-xr-x | stage4/04-enable-xcompmgr/00-run.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/stage4/04-enable-xcompmgr/00-run.sh b/stage4/04-enable-xcompmgr/00-run.sh index 6a56a82..74b912c 100755 --- a/stage4/04-enable-xcompmgr/00-run.sh +++ b/stage4/04-enable-xcompmgr/00-run.sh @@ -1,5 +1,7 @@ #!/bin/bash -e -on_chroot << EOF - raspi-config nonint do_xcompmgr 0 +if [ "${TARGET_RASPI}" = "1" ]; then + on_chroot << EOF + raspi-config nonint do_xcompmgr 0 EOF +fi |