chore: clean up
This commit is contained in:
parent
879f74befa
commit
0a129b5489
3 changed files with 22 additions and 23 deletions
pkgs/rootfs
|
@ -80,22 +80,6 @@ DefaultEnvironment=PATH=/bin:/sbin:/usr/bin
|
|||
ManagerEnvironment=PATH=/bin:/sbin:/usr/bin SYSTEMD_CRYPTTAB=/run/crypttab SYSTEMD_SYSROOT_FSTAB=/run/fstab SYSTEMD_FSTAB=/run/fstab
|
||||
EOF
|
||||
|
||||
# Overlay mount for /etc which makes it read-write in runtime
|
||||
cat <<EOF > $out/usr/lib/systemd/system/etc.mount
|
||||
[Unit]
|
||||
Description=Overlay mount for /etc
|
||||
Before=local-fs.target
|
||||
|
||||
[Mount]
|
||||
What=overlay
|
||||
Where=/etc
|
||||
Type=overlay
|
||||
Options=lowerdir=/etc,upperdir=/run/.rw-etc/upper,workdir=/run/.rw-etc/work
|
||||
|
||||
[Install]
|
||||
WantedBy=local-fs.target
|
||||
EOF
|
||||
|
||||
### install PatOS glibc
|
||||
cp -P $glibcPatos/lib/*.so* $out/usr/lib/
|
||||
|
||||
|
@ -123,12 +107,11 @@ cp -Pr ${btrfs}/bin/* $out/usr/bin/
|
|||
cp -Pr ${btrfs}/lib/* $out/usr/lib/
|
||||
|
||||
### install tpm2 tools
|
||||
cp -P ${tpm2Tools}/bin/* $out/usr/bin/
|
||||
# For TPM debugging
|
||||
# cp -P ${tpm2Tools}/bin/* $out/usr/bin/
|
||||
# cp -P $cryptsetup/bin/* $out/usr/bin/
|
||||
cp -P ${tpm2Libs}/lib/*.so* $out/usr/lib/
|
||||
|
||||
### install cryptsetup tools
|
||||
cp -P $cryptsetup/bin/* $out/usr/bin/
|
||||
|
||||
### install lib kmod
|
||||
cp -P $kmodLibs/lib/* $out/usr/lib
|
||||
cp -P $kmodBin/bin/* $out/usr/bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue