copying skel files in release archive
This commit is contained in:
parent
a8b0feb57d
commit
d572b4b94e
@ -68,7 +68,7 @@ fi
|
|||||||
|
|
||||||
info "Creating directory structure"
|
info "Creating directory structure"
|
||||||
pushd $TARGET > /dev/null
|
pushd $TARGET > /dev/null
|
||||||
mkdir -p {dev,proc,sys,run,tmp,root,home,boot}
|
mkdir -p {dev,proc,sys,run,tmp,root,home,boot,mnt}
|
||||||
mkdir -p var/{log,mail,lib}
|
mkdir -p var/{log,mail,lib}
|
||||||
mkdir -p usr/{bin,lib,sbin}
|
mkdir -p usr/{bin,lib,sbin}
|
||||||
mkdir -p etc/mp
|
mkdir -p etc/mp
|
||||||
@ -184,6 +184,8 @@ cat > $TARGET/etc/shells << "EOF"
|
|||||||
/bin/bash
|
/bin/bash
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
cp "$TARGET/etc/skel/."* "$TARGET/root"
|
||||||
|
|
||||||
info "Installing certs"
|
info "Installing certs"
|
||||||
wget -q https://hg.mozilla.org/projects/nss/raw-file/tip/lib/ckfw/builtins/certdata.txt -O "$TARGET/certdata.txt"
|
wget -q https://hg.mozilla.org/projects/nss/raw-file/tip/lib/ckfw/builtins/certdata.txt -O "$TARGET/certdata.txt"
|
||||||
matter-chroot $TARGET make-ca > /dev/null
|
matter-chroot $TARGET make-ca > /dev/null
|
||||||
|
@ -104,5 +104,5 @@ if [ $# -gt 1 ]; then
|
|||||||
exit $RET_CODE
|
exit $RET_CODE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chrt bash --login
|
chrt bash --noprofile --login
|
||||||
exit $?
|
exit $?
|
||||||
|
Loading…
Reference in New Issue
Block a user