introduced templates/install_base.custompkg.tpl.sh
here users can put their own packages they wont to have in the nanodesk boot medium. it just a sourced shell script
This commit is contained in:
parent
49e438ee94
commit
9859e2bdb5
3 changed files with 28 additions and 3 deletions
|
@ -87,8 +87,11 @@ sudo debootstrap bullseye build/chroot/ $MIRROR || sudo debootstrap bullseye bui
|
|||
message "copy xdgmenumaker deb file into chroot"
|
||||
sudo cp deb/xdgmenumaker* build/chroot/tmp || error
|
||||
|
||||
message "copy template/install_base.sh to build/chroot/tmp/install_base.sh"
|
||||
cp templates/install_base.tpl.sh build/chroot/tmp/install_base.sh || error
|
||||
message "generate template/install_base.sh to build/chroot/tmp/install_base.sh"
|
||||
sudo cp templates/install_base.tpl.sh build/chroot/tmp/install_base.sh || error
|
||||
sudo cp templates/install_base.custompkg.tpl.sh build/chroot/tmp/ || error
|
||||
|
||||
|
||||
|
||||
message "run install_base.sh"
|
||||
$CHROOTCMD /bin/bash /tmp/install_base.sh || error
|
||||
|
|
2
templates/install_base.custompkg.tpl.sh
Normal file
2
templates/install_base.custompkg.tpl.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
apt install -y \
|
||||
audacious
|
|
@ -68,7 +68,6 @@ apt install -y \
|
|||
xterm \
|
||||
xfe \
|
||||
pcmanfm \
|
||||
audacious \
|
||||
htop \
|
||||
host \
|
||||
mc \
|
||||
|
@ -88,6 +87,27 @@ apt install -y \
|
|||
git \
|
||||
/tmp/xdgmenumaker*.deb || error
|
||||
|
||||
######
|
||||
####
|
||||
##
|
||||
## customization can be done here
|
||||
## the placeholder within '%%' gets
|
||||
#### filled by makeanything.sh
|
||||
######
|
||||
|
||||
message "install custom packages from templates/install_base.custompkg.tpl.sh"
|
||||
. /tmp/install_base.custompkg.tpl.sh
|
||||
|
||||
######
|
||||
#### it's a simple sudo
|
||||
## command
|
||||
## / customization End /
|
||||
##
|
||||
####
|
||||
######
|
||||
|
||||
|
||||
|
||||
message "install linux-kernel from backports"
|
||||
apt install -t bullseye-backports -y linux-image-amd64
|
||||
|
||||
|
|
Loading…
Reference in a new issue