pmb/data/merge-usr: relative symlink targets (MR 2402)

Make sure the symlinks are correct when not inside the chroot, they
should be relative!

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-09-18 13:34:13 +02:00
parent 0931eb924b
commit a5617cb110
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -52,10 +52,10 @@ merge() {
cd "$CHROOT"
rmdir "$src"
ln -s "/$dest" "$CHROOT/$src"
ln -s "$dest" "$CHROOT/$src"
}
merge bin usr/bin
merge sbin usr/bin
merge lib usr/lib
merge usr/sbin usr/bin
merge usr/sbin bin