mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 03:26:31 +01:00
Merge 1ae0a316eb into 6d0157f87a
This commit is contained in:
commit
d3e4fb4dbe
10 changed files with 111 additions and 23 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
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
#
|
||||
mkdir -p /external/repo
|
||||
|
||||
tar -cf - --exclude='/external/repo/*' --exclude='/external/repo-preseeded/*' --exclude='/external/distfiles/*' --exclude='/dev/*' --exclude='/proc/*' --exclude='/sys/*' --exclude='/tmp/*' / | bzip2 --best > /external/repo/base.tar.bz2
|
||||
tar -cf - --exclude='/external/repo/*' --exclude='/external/repo-preseeded/*' --exclude='/external/distfiles/*' --exclude='/distfiles/*' --exclude='/dev/*' --exclude='/proc/*' --exclude='/sys/*' --exclude='/tmp/*' / | bzip2 --best > /external/repo/base.tar.bz2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue