mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 03:26:31 +01:00
Support building within git repository
The lib directory for python modules conflicted with the symlinks for a merged usr so this moves the directory out of the way
This commit is contained in:
parent
f3828e44db
commit
4e2434b837
1 changed files with 4 additions and 0 deletions
|
|
@ -6,5 +6,9 @@
|
|||
# Add the rest of the FHS that we will use and is not created pre-boot
|
||||
ln -s bin /usr/sbin
|
||||
for d in bin lib sbin; do
|
||||
if [ -d "/${d}" ] && ! [ -L "/${d}" ]; then
|
||||
# Move the non symlink directory out of the way
|
||||
mv "/${d}" "/${d}-saved"
|
||||
fi
|
||||
ln -s "usr/${d}" "/${d}" || true # these might exist if rerunning
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue