mirror of
https://salsa.debian.org/raspi-team/image-specs
synced 2026-05-30 06:38:09 +02:00
Install and enable set-sysconf
This commit is contained in:
11
raspi3.yaml
11
raspi3.yaml
@@ -96,6 +96,12 @@ steps:
|
||||
|
||||
install -m 644 -o root -g root eth0 "${ROOT?}/etc/network/interfaces.d/eth0"
|
||||
|
||||
install -m 755 -o root -g root set-sysconf "${ROOT?}/usr/local/sbin/set-sysconf"
|
||||
install -m 644 -o root -g root set-sysconf.service "${ROOT?}/etc/systemd/system"
|
||||
install -m 644 -o root -g root sysconf.txt "${ROOT?}/boot/firmware/sysconf.txt"
|
||||
mkdir -p "${ROOT?}/etc/systemd/system/basic.target.requires/"
|
||||
ln -s /etc/systemd/system/set-sysconf.service "${ROOT?}/etc/systemd/system/basic.target.requires/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"
|
||||
mkdir -p "${ROOT?}/etc/systemd/system/systemd-remount-fs.service.requires/"
|
||||
@@ -105,11 +111,6 @@ steps:
|
||||
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*
|
||||
|
||||
cat >> "${ROOT?}/etc/motd" <<'EOT'
|
||||
|
||||
Please change the root password by running passwd
|
||||
EOT
|
||||
root-fs: /
|
||||
|
||||
# Clean up archive cache (likely not useful) and lists (likely outdated) to
|
||||
|
||||
Reference in New Issue
Block a user