diff options
| author | PeterLawler <relwalretep@gmail.com> | 2020-08-15 05:06:18 +0000 |
|---|---|---|
| committer | Gunnar Wolf <gwolf@debian.org> | 2020-08-15 05:06:18 +0000 |
| commit | dd3b33419c13262b5ded48659d27e3c47b4ff15d (patch) | |
| tree | 0b9ece9b8594320cfd90331ec1c546a1d376cd9e | |
| parent | 0cf508221ff8972d58cd61db710e88ff072cbf61 (diff) | |
rootfs subdirectory
| -rw-r--r-- | raspi_master.yaml | 16 | ||||
| -rw-r--r-- | rootfs/boot/firmware/sysconf.txt (renamed from sysconf.txt) | 0 | ||||
| -rw-r--r-- | rootfs/etc/fstab (renamed from fstab) | 0 | ||||
| -rw-r--r-- | rootfs/etc/network/interfaces.d/eth0 (renamed from eth0) | 0 | ||||
| -rw-r--r-- | rootfs/etc/systemd/system/rpi-generate-ssh-host-keys.service (renamed from rpi-generate-ssh-host-keys.service) | 0 | ||||
| -rw-r--r-- | rootfs/etc/systemd/system/rpi-resizerootfs.service (renamed from rpi-resizerootfs.service) | 0 | ||||
| -rw-r--r-- | rootfs/etc/systemd/system/rpi-set-sysconf.service (renamed from rpi-set-sysconf.service) | 0 | ||||
| -rw-r--r-- | rootfs/usr/local/sbin/rpi-set-sysconf (renamed from rpi-set-sysconf) | 0 | ||||
| -rwxr-xr-x | rootfs/usr/sbin/rpi-resizerootfs (renamed from rpi-resizerootfs) | 0 |
9 files changed, 8 insertions, 8 deletions
diff --git a/raspi_master.yaml b/raspi_master.yaml index cc9635e..c35be79 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -86,22 +86,22 @@ steps: # Allow root logins locally with no password sed -i 's,root:[^:]*:,root::,' "${ROOT?}/etc/shadow" - install -m 644 -o root -g root fstab "${ROOT?}/etc/fstab" + install -m 644 -o root -g root rootfs/etc/fstab "${ROOT?}/etc/fstab" - install -m 644 -o root -g root eth0 "${ROOT?}/etc/network/interfaces.d/eth0" + install -m 644 -o root -g root rootfs/etc/network/interfaces.d/eth0 "${ROOT?}/etc/network/interfaces.d/eth0" - install -m 755 -o root -g root rpi-set-sysconf "${ROOT?}/usr/local/sbin/rpi-set-sysconf" - install -m 644 -o root -g root rpi-set-sysconf.service "${ROOT?}/etc/systemd/system" - install -m 644 -o root -g root sysconf.txt "${ROOT?}/boot/firmware/sysconf.txt" + install -m 755 -o root -g root rootfs/usr/local/sbin/rpi-set-sysconf "${ROOT?}/usr/local/sbin/rpi-set-sysconf" + install -m 644 -o root -g root rootfs/etc/systemd/system/rpi-set-sysconf.service "${ROOT?}/etc/systemd/system/" + install -m 644 -o root -g root rootfs/boot/firmware/sysconf.txt "${ROOT?}/boot/firmware/sysconf.txt" mkdir -p "${ROOT?}/etc/systemd/system/basic.target.requires/" ln -s /etc/systemd/system/rpi-set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/rpi-set-sysconf.service" - install -m 755 -o root -g root rpi-resizerootfs "${ROOT?}/usr/sbin/rpi-resizerootfs" - install -m 644 -o root -g root rpi-resizerootfs.service "${ROOT?}/etc/systemd/system" + install -m 755 -o root -g root rootfs/usr/sbin/rpi-resizerootfs "${ROOT?}/usr/sbin/rpi-resizerootfs" + install -m 644 -o root -g root rootfs/etc/systemd/system/rpi-resizerootfs.service "${ROOT?}/etc/systemd/system/" mkdir -p "${ROOT?}/etc/systemd/system/systemd-remount-fs.service.requires/" ln -s /etc/systemd/system/rpi-resizerootfs.service "${ROOT?}/etc/systemd/system/systemd-remount-fs.service.requires/rpi-resizerootfs.service" - install -m 644 -o root -g root rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system" + install -m 644 -o root -g root rootfs/etc/systemd/system/rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system/" mkdir -p "${ROOT?}/etc/systemd/system/multi-user.target.requires/" ln -s /etc/systemd/system/rpi-generate-ssh-host-keys.service "${ROOT?}/etc/systemd/system/multi-user.target.requires/rpi-generate-ssh-host-keys.service" rm -f "${ROOT?}"/etc/ssh/ssh_host_*_key* diff --git a/sysconf.txt b/rootfs/boot/firmware/sysconf.txt index faaca5f..faaca5f 100644 --- a/sysconf.txt +++ b/rootfs/boot/firmware/sysconf.txt diff --git a/eth0 b/rootfs/etc/network/interfaces.d/eth0 index 910e081..910e081 100644 --- a/eth0 +++ b/rootfs/etc/network/interfaces.d/eth0 diff --git a/rpi-generate-ssh-host-keys.service b/rootfs/etc/systemd/system/rpi-generate-ssh-host-keys.service index 496f2c4..496f2c4 100644 --- a/rpi-generate-ssh-host-keys.service +++ b/rootfs/etc/systemd/system/rpi-generate-ssh-host-keys.service diff --git a/rpi-resizerootfs.service b/rootfs/etc/systemd/system/rpi-resizerootfs.service index 089aecc..089aecc 100644 --- a/rpi-resizerootfs.service +++ b/rootfs/etc/systemd/system/rpi-resizerootfs.service diff --git a/rpi-set-sysconf.service b/rootfs/etc/systemd/system/rpi-set-sysconf.service index 46bddcf..46bddcf 100644 --- a/rpi-set-sysconf.service +++ b/rootfs/etc/systemd/system/rpi-set-sysconf.service diff --git a/rpi-set-sysconf b/rootfs/usr/local/sbin/rpi-set-sysconf index 2bd2904..2bd2904 100644 --- a/rpi-set-sysconf +++ b/rootfs/usr/local/sbin/rpi-set-sysconf diff --git a/rpi-resizerootfs b/rootfs/usr/sbin/rpi-resizerootfs index 217c20c..217c20c 100755 --- a/rpi-resizerootfs +++ b/rootfs/usr/sbin/rpi-resizerootfs |
