V8.13.512.2025.11.28
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m24s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-11-28 00:44:01 +00:00
parent 25e7ba63ed
commit ec00877857
3 changed files with 5 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ rm -f /root/ciss_xdg_tmp.sh
rm -fr /root/build
find /etc /home /root /usr /var -type f -name '.keep' -print -delete
### Securing '/root/.ciss' ----------------------------------------------------------------------------------------------------------
### Securing '/root/.ciss' -----------------------------------------------------------------------------------------------------
find /root/.ciss -type d -exec chmod 0700 {} +
find /root/.ciss -type f -exec chmod 0440 {} +
@@ -30,6 +30,10 @@ find /etc/ciss/keys -type f -exec chmod 0440 {} +
### Regenerate the initramfs for the live system kernel ------------------------------------------------------------------------
update-initramfs -u -k all -v
### Prepare '/etc/resolv.conf' for systemd-networkd ----------------------------------------------------------------------------
rm -f /etc/resolv.conf
ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
### Determine the canonical systemd unit dir inside chroot ---------------------------------------------------------------------
if [[ -d /lib/systemd/system ]]; then