chore: remove unused logind and sysuser for dbus svc
This commit is contained in:
parent
12bacf271d
commit
879f74befa
4 changed files with 11 additions and 6 deletions
pkgs/rootfs
|
@ -139,11 +139,6 @@ cp -P $libbpf/lib/libbpf* $out/usr/lib
|
|||
# remove pkgconfig
|
||||
rm -rf $out/usr/lib/pkgconfig
|
||||
|
||||
### install sys users (default password is patos)
|
||||
mkdir creds
|
||||
echo -n patos > creds/passwd.plaintext-password.root
|
||||
CREDENTIALS_DIRECTORY=$PWD/creds SYSTEMD_CRYPT_PREFIX='$6$' $systemd/usr/bin/systemd-sysusers --root=$out $out/usr/lib/sysusers.d/*.conf
|
||||
|
||||
### Find and install all shared libs
|
||||
find $out -type f -executable -exec ldd {} \; | awk '{print $3}' | grep -v systemd | grep -v glibc | grep -v tpm2 | grep -v devmapper | sort -u | xargs -I {} cp {} $out/usr/lib/
|
||||
find $out -type f -executable -exec chmod 755 {} \;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue