Include aptitude package in debootstrap install

This commit is contained in:
Jeremy Gardais 2019-04-03 15:43:22 +02:00
parent 0e29099e60
commit c40b0151cc
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ manage_part=0
## Package to exclude from debootstrap install
dbs_pkg_exclude="vim"
## Package to include to debootstrap install
dbs_pkg_include="bzip2,debconf-i18n,dialog,dmsetup,htop,isc-dhcp-client,isc-dhcp-common,locales,lvm2,pciutils,tmux,vim-nox,wget,zsh"
dbs_pkg_include="aptitude,bzip2,debconf-i18n,dialog,dmsetup,htop,isc-dhcp-client,isc-dhcp-common,locales,lvm2,pciutils,tmux,vim-nox,wget,zsh"
# Partitionning {{{
if [ "${manage_part}" -eq 0 ]; then
@ -146,7 +146,7 @@ done
### Fix group of LV
chgrp disk -- /target/dev/dm-*
## }}}
## Create symlinks to LV
## Create symlinks to LV {{{
### Get the list of all LV
tmp_list_lv="/tmp/lv.rescue.list"
find /dev/"${vgname}" -maxdepth 1 -type l -printf "%f\\n" > "${tmp_list_lv}"
@ -167,4 +167,5 @@ do
done < "${tmp_list_lv}"
rm -f -- "${tmp_list_lv}"
## }}}
# }}}