Set the Makefile to ignore errors on the umounts - necessary if you want to run 'make clean' before the script has hit chapter 6
This commit is contained in:
parent
0bd7b91adc
commit
3338588976
1 changed files with 5 additions and 5 deletions
10
jhalfs
10
jhalfs
|
@ -795,11 +795,11 @@ clean-chapter5:
|
||||||
cd logs && rm -f $chapter5 && cd ..
|
cd logs && rm -f $chapter5 && cd ..
|
||||||
|
|
||||||
clean-chapter6:
|
clean-chapter6:
|
||||||
umount \$(LFS)/sys
|
-umount \$(LFS)/sys
|
||||||
umount \$(LFS)/proc
|
-umount \$(LFS)/proc
|
||||||
umount \$(LFS)/dev/shm
|
-umount \$(LFS)/dev/shm
|
||||||
umount \$(LFS)/dev/pts
|
-umount \$(LFS)/dev/pts
|
||||||
umount \$(LFS)/dev
|
-umount \$(LFS)/dev
|
||||||
rm -rf \$(LFS)/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}
|
rm -rf \$(LFS)/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}
|
||||||
rm -f $chapter6
|
rm -f $chapter6
|
||||||
cd logs && rm -f $chapter6 && cd ..
|
cd logs && rm -f $chapter6 && cd ..
|
||||||
|
|
Reference in a new issue