2019-05-24
This commit is contained in:
parent
b6879a569b
commit
e42cf13d67
1
base.sh
1
base.sh
@ -314,7 +314,6 @@ function _gcc {
|
|||||||
}
|
}
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Main line
|
# Main line
|
||||||
[ $(whoami) = "root" ] || die "Not running as user root, you should be!"
|
|
||||||
# Create directories if needed
|
# Create directories if needed
|
||||||
[ -e "${LOGS}" ] || install -vdm 755 "${LOGS}"
|
[ -e "${LOGS}" ] || install -vdm 755 "${LOGS}"
|
||||||
[ -e "${INFOS}" ] || install -vdm 755 "${INFOS}"
|
[ -e "${INFOS}" ] || install -vdm 755 "${INFOS}"
|
||||||
|
2
lfs.sh
2
lfs.sh
@ -90,7 +90,7 @@ msg_line " Unmounting Virtual Kernel File Systems: "
|
|||||||
mountpoint -q ${LFS}/dev && umount ${LFS}/dev
|
mountpoint -q ${LFS}/dev && umount ${LFS}/dev
|
||||||
msg_success
|
msg_success
|
||||||
msg_line " Changing file ownership: "
|
msg_line " Changing file ownership: "
|
||||||
chown -R 0:0 ${LFS}
|
chown -R root:root ${LFS}
|
||||||
msg_success
|
msg_success
|
||||||
msg_line " Preparing Virtual Kernel File Systems: "
|
msg_line " Preparing Virtual Kernel File Systems: "
|
||||||
[ -d ${LFS}/dev ] || mkdir -p ${LFS}/dev
|
[ -d ${LFS}/dev ] || mkdir -p ${LFS}/dev
|
||||||
|
Loading…
Reference in New Issue
Block a user