forked from mirrors/nixpkgs
Add -p to mkdir in build-fhs-chrootenv to prevent error if directory exists
This commit is contained in:
parent
4be7e939a0
commit
a6ddfbceac
|
@ -36,9 +36,9 @@ rm $chrootenvDest/etc/pam.d
|
|||
ln -s ../host-etc/static/pam.d $chrootenvDest/etc/pam.d
|
||||
|
||||
# Symlink Font stuff
|
||||
mkdir $chrootenvDest/etc/fonts
|
||||
mkdir -p $chrootenvDest/etc/fonts
|
||||
ln -s ../../host-etc/static/fonts/fonts.conf $chrootenvDest/etc/fonts
|
||||
mkdir $chrootenvDest/etc/fonts/conf.d
|
||||
mkdir -p $chrootenvDest/etc/fonts/conf.d
|
||||
ln -s ../../../host-etc/static/fonts/conf.d/00-nixos.conf $chrootenvDest/etc/fonts/conf.d
|
||||
|
||||
# Create root folder
|
||||
|
|
Loading…
Reference in a new issue