forked from Mirror/pmbootstrap
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:
parent
0931eb924b
commit
a5617cb110
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue