copying skel files in release archive

This commit is contained in:
ngn 2024-01-18 18:02:56 +03:00
parent a8b0feb57d
commit d572b4b94e
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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 $?