├── .github └── workflows │ ├── on-push.yml │ └── on-tag-only.yml ├── .gitignore ├── LICENSE ├── README.md ├── config ├── depends ├── export-image ├── 00-allow-rerun │ └── 00-run.sh ├── 02-set-sources │ └── 01-run.sh ├── 03-network │ ├── 01-run.sh │ └── files │ │ └── resolv.conf ├── 04-set-partuuid │ └── 00-run.sh ├── 05-finalise │ └── 01-run.sh └── prerun.sh ├── imagetool.sh ├── scripts ├── common ├── dependencies_check ├── qcow2_handling └── remove-comments.sed ├── stage0 ├── 00-configure-apt │ ├── 00-run.sh │ ├── 01-packages │ └── files │ │ ├── 51cache │ │ ├── raspberrypi.gpg.key │ │ ├── raspi.list │ │ └── sources.list ├── 01-locale │ ├── 00-debconf │ └── 00-packages ├── 02-firmware │ └── 01-packages ├── files │ └── debian.gpg └── prerun.sh ├── stage1 ├── 00-boot-files │ ├── 00-run.sh │ └── files │ │ ├── cmdline.txt │ │ └── config.txt ├── 01-sys-tweaks │ ├── 00-packages │ ├── 00-patches │ │ ├── 01-bashrc.diff │ │ └── series │ ├── 00-run.sh │ └── files │ │ ├── fstab │ │ └── noclear.conf ├── 02-net-tweaks │ ├── 00-packages │ └── 00-run.sh ├── 03-install-packages │ └── 00-packages └── prerun.sh ├── stage2 ├── 00-sys-tweaks │ ├── 00-debconf │ ├── 00-packages │ ├── 00-patches │ │ ├── 01-useradd.diff │ │ ├── 02-inputrc.diff │ │ ├── 03-path.diff │ │ ├── 04-resize-init.diff │ │ └── series │ ├── 01-run.sh │ └── files │ │ ├── 90-qemu.rules │ │ ├── console-setup │ │ └── resize2fs_once ├── 01-net-tweaks │ ├── 00-packages │ ├── 01-run.sh │ └── files │ │ ├── wait.conf │ │ └── wpa_supplicant.conf ├── 02-set-timezone │ └── 02-run.sh ├── 03-install-citadel │ ├── 00-packages │ └── 01-run.sh ├── 04-set-citadel-os-version │ ├── 00-patches │ │ ├── 01-profile.diff │ │ └── series │ ├── 01-run.sh │ └── files │ │ └── citadel ├── EXPORT_IMAGE └── prerun.sh ├── stage3 ├── 00-install-packages │ ├── 00-debconf │ ├── 00-packages │ ├── 00-packages-nr │ └── 01-run.sh ├── 01-tweaks │ └── 00-run.sh └── prerun.sh └── stage4 ├── 00-install-packages ├── 00-debconf ├── 00-packages ├── 00-packages-nr ├── 01-packages └── 02-packages ├── 01-console-autologin └── 00-run.sh ├── 02-extras └── 00-run.sh ├── 03-bookshelf ├── 00-run.sh └── files │ └── .gitignore ├── 04-enable-xcompmgr └── 00-run.sh ├── 05-print-support ├── 00-packages └── 01-run.sh ├── EXPORT_IMAGE └── prerun.sh /.github/workflows/on-push.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/.github/workflows/on-push.yml -------------------------------------------------------------------------------- /.github/workflows/on-tag-only.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/.github/workflows/on-tag-only.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/README.md -------------------------------------------------------------------------------- /config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/config -------------------------------------------------------------------------------- /depends: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/depends -------------------------------------------------------------------------------- /export-image/00-allow-rerun/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/export-image/00-allow-rerun/00-run.sh -------------------------------------------------------------------------------- /export-image/02-set-sources/01-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/export-image/02-set-sources/01-run.sh -------------------------------------------------------------------------------- /export-image/03-network/01-run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | install -m 644 files/resolv.conf "${ROOTFS_DIR}/etc/" 4 | -------------------------------------------------------------------------------- /export-image/03-network/files/resolv.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/export-image/03-network/files/resolv.conf -------------------------------------------------------------------------------- /export-image/04-set-partuuid/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/export-image/04-set-partuuid/00-run.sh -------------------------------------------------------------------------------- /export-image/05-finalise/01-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/export-image/05-finalise/01-run.sh -------------------------------------------------------------------------------- /export-image/prerun.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/export-image/prerun.sh -------------------------------------------------------------------------------- /imagetool.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/imagetool.sh -------------------------------------------------------------------------------- /scripts/common: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/scripts/common -------------------------------------------------------------------------------- /scripts/dependencies_check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/scripts/dependencies_check -------------------------------------------------------------------------------- /scripts/qcow2_handling: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/scripts/qcow2_handling -------------------------------------------------------------------------------- /scripts/remove-comments.sed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/scripts/remove-comments.sed -------------------------------------------------------------------------------- /stage0/00-configure-apt/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/00-configure-apt/00-run.sh -------------------------------------------------------------------------------- /stage0/00-configure-apt/01-packages: -------------------------------------------------------------------------------- 1 | raspberrypi-archive-keyring 2 | -------------------------------------------------------------------------------- /stage0/00-configure-apt/files/51cache: -------------------------------------------------------------------------------- 1 | Acquire::http { Proxy "APT_PROXY"; }; 2 | -------------------------------------------------------------------------------- /stage0/00-configure-apt/files/raspberrypi.gpg.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/00-configure-apt/files/raspberrypi.gpg.key -------------------------------------------------------------------------------- /stage0/00-configure-apt/files/raspi.list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/00-configure-apt/files/raspi.list -------------------------------------------------------------------------------- /stage0/00-configure-apt/files/sources.list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/00-configure-apt/files/sources.list -------------------------------------------------------------------------------- /stage0/01-locale/00-debconf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/01-locale/00-debconf -------------------------------------------------------------------------------- /stage0/01-locale/00-packages: -------------------------------------------------------------------------------- 1 | locales 2 | -------------------------------------------------------------------------------- /stage0/02-firmware/01-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/02-firmware/01-packages -------------------------------------------------------------------------------- /stage0/files/debian.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/files/debian.gpg -------------------------------------------------------------------------------- /stage0/prerun.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage0/prerun.sh -------------------------------------------------------------------------------- /stage1/00-boot-files/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/00-boot-files/00-run.sh -------------------------------------------------------------------------------- /stage1/00-boot-files/files/cmdline.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/00-boot-files/files/cmdline.txt -------------------------------------------------------------------------------- /stage1/00-boot-files/files/config.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/00-boot-files/files/config.txt -------------------------------------------------------------------------------- /stage1/01-sys-tweaks/00-packages: -------------------------------------------------------------------------------- 1 | raspi-config 2 | -------------------------------------------------------------------------------- /stage1/01-sys-tweaks/00-patches/01-bashrc.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/01-sys-tweaks/00-patches/01-bashrc.diff -------------------------------------------------------------------------------- /stage1/01-sys-tweaks/00-patches/series: -------------------------------------------------------------------------------- 1 | 01-bashrc.diff 2 | -------------------------------------------------------------------------------- /stage1/01-sys-tweaks/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/01-sys-tweaks/00-run.sh -------------------------------------------------------------------------------- /stage1/01-sys-tweaks/files/fstab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/01-sys-tweaks/files/fstab -------------------------------------------------------------------------------- /stage1/01-sys-tweaks/files/noclear.conf: -------------------------------------------------------------------------------- 1 | [Service] 2 | TTYVTDisallocate=no 3 | -------------------------------------------------------------------------------- /stage1/02-net-tweaks/00-packages: -------------------------------------------------------------------------------- 1 | netbase 2 | dhcpcd5 3 | -------------------------------------------------------------------------------- /stage1/02-net-tweaks/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/02-net-tweaks/00-run.sh -------------------------------------------------------------------------------- /stage1/03-install-packages/00-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage1/03-install-packages/00-packages -------------------------------------------------------------------------------- /stage1/prerun.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [ ! -d "${ROOTFS_DIR}" ]; then 4 | copy_previous 5 | fi 6 | -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/00-debconf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/00-debconf -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/00-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/00-packages -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/00-patches/01-useradd.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/00-patches/01-useradd.diff -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/00-patches/02-inputrc.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/00-patches/02-inputrc.diff -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/00-patches/03-path.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/00-patches/03-path.diff -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/00-patches/04-resize-init.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/00-patches/04-resize-init.diff -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/00-patches/series: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/00-patches/series -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/01-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/01-run.sh -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/files/90-qemu.rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/files/90-qemu.rules -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/files/console-setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/files/console-setup -------------------------------------------------------------------------------- /stage2/00-sys-tweaks/files/resize2fs_once: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/00-sys-tweaks/files/resize2fs_once -------------------------------------------------------------------------------- /stage2/01-net-tweaks/00-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/01-net-tweaks/00-packages -------------------------------------------------------------------------------- /stage2/01-net-tweaks/01-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/01-net-tweaks/01-run.sh -------------------------------------------------------------------------------- /stage2/01-net-tweaks/files/wait.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/01-net-tweaks/files/wait.conf -------------------------------------------------------------------------------- /stage2/01-net-tweaks/files/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 2 | update_config=1 3 | -------------------------------------------------------------------------------- /stage2/02-set-timezone/02-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/02-set-timezone/02-run.sh -------------------------------------------------------------------------------- /stage2/03-install-citadel/00-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/03-install-citadel/00-packages -------------------------------------------------------------------------------- /stage2/03-install-citadel/01-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/03-install-citadel/01-run.sh -------------------------------------------------------------------------------- /stage2/04-set-citadel-os-version/00-patches/01-profile.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/04-set-citadel-os-version/00-patches/01-profile.diff -------------------------------------------------------------------------------- /stage2/04-set-citadel-os-version/00-patches/series: -------------------------------------------------------------------------------- 1 | 01-profile.diff 2 | -------------------------------------------------------------------------------- /stage2/04-set-citadel-os-version/01-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/04-set-citadel-os-version/01-run.sh -------------------------------------------------------------------------------- /stage2/04-set-citadel-os-version/files/citadel: -------------------------------------------------------------------------------- 1 | export CITADEL_OS= 2 | -------------------------------------------------------------------------------- /stage2/EXPORT_IMAGE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage2/EXPORT_IMAGE -------------------------------------------------------------------------------- /stage2/prerun.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [ ! -d "${ROOTFS_DIR}" ]; then 4 | copy_previous 5 | fi 6 | -------------------------------------------------------------------------------- /stage3/00-install-packages/00-debconf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage3/00-install-packages/00-debconf -------------------------------------------------------------------------------- /stage3/00-install-packages/00-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage3/00-install-packages/00-packages -------------------------------------------------------------------------------- /stage3/00-install-packages/00-packages-nr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage3/00-install-packages/00-packages-nr -------------------------------------------------------------------------------- /stage3/00-install-packages/01-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage3/00-install-packages/01-run.sh -------------------------------------------------------------------------------- /stage3/01-tweaks/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage3/01-tweaks/00-run.sh -------------------------------------------------------------------------------- /stage3/prerun.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | if [ ! -d "${ROOTFS_DIR}" ]; then 4 | copy_previous 5 | fi 6 | -------------------------------------------------------------------------------- /stage4/00-install-packages/00-debconf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/00-install-packages/00-debconf -------------------------------------------------------------------------------- /stage4/00-install-packages/00-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/00-install-packages/00-packages -------------------------------------------------------------------------------- /stage4/00-install-packages/00-packages-nr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/00-install-packages/00-packages-nr -------------------------------------------------------------------------------- /stage4/00-install-packages/01-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/00-install-packages/01-packages -------------------------------------------------------------------------------- /stage4/00-install-packages/02-packages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/00-install-packages/02-packages -------------------------------------------------------------------------------- /stage4/01-console-autologin/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/01-console-autologin/00-run.sh -------------------------------------------------------------------------------- /stage4/02-extras/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/02-extras/00-run.sh -------------------------------------------------------------------------------- /stage4/03-bookshelf/00-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/runcitadel/os/HEAD/stage4/03-bookshelf/00-run.sh -------------------------------------------------------------------------------- /stage4/03-bookshelf/files/.gitignore: -------------------------------------------------------------------------------- 1 | *.pdf 2 | -------------------------------------------------------------------------------- /stage4/04-enable-xcompmgr/00-run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | on_chroot << EOF 4 | raspi-config nonint do_xcompmgr 0 5 | EOF 6 | -------------------------------------------------------------------------------- /stage4/05-print-support/00-packages: -------------------------------------------------------------------------------- 1 | cups 2 | system-config-printer 3 | -------------------------------------------------------------------------------- /stage4/05-print-support/01-run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | on_chroot <