mirror of
https://github.com/YellowJacketLinux/lfs-buildscripts.git
synced 2025-01-23 14:32:20 +08:00
stuff
This commit is contained in:
parent
9d73d30759
commit
9acdc5eca2
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# LFS user
|
||||
# LFS user on flash drive
|
||||
|
||||
groupadd lfs
|
||||
useradd -d /home/lfs -s /bin/bash -g lfs -m -k /dev/null lfs
|
||||
|
@ -17,4 +17,13 @@ if [ ! -f ${LFS}/USBFlash ]; then
|
||||
cp /home/lfs/lfs-sources.tar ${LFS}/home/lfs/
|
||||
cp -ar /home/lfs/lfs-buildscripts ${LFS}/home/lfs/
|
||||
touch ${LFS}/USBFlash
|
||||
else
|
||||
echo "Mounting existing /boot"
|
||||
#uncomment below before final build
|
||||
# [ ! -d /mnt/newlfs/boot ] && mkdir /mnt/newlfs/boot
|
||||
# mount /mnt/newlfs/boot
|
||||
# if [ $? -ne 0 ]; then
|
||||
# echo "failed to mount /mnt/newlfs/boot"
|
||||
# exit 1
|
||||
# fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user