baselayout: More concise build

This commit is contained in:
Dylan Araps 2021-08-19 11:05:55 +03:00
parent fe6a99f593
commit f900dd931e
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 15 deletions

View File

@ -57,21 +57,7 @@ ln -sf ../run "$1/var/run"
ln -sf ../run/lock "$1/var/lock"
ln -sf /proc/self/mounts "$1/etc/mtab"
cp -f \
fstab \
group \
host.conf \
hosts \
issue \
os-release \
passwd \
profile \
securetty \
shells \
mime.types \
crypttab \
shadow \
"$1/etc"
cp -f ./* "$1/etc"
chmod 600 \
"$1/etc/crypttab" \