Compare commits

..

No commits in common. "54253b991678270b72b34cfa79b9f7309037ed0b" and "3fa06d792ab172b0029231569d0a446c11ace59d" have entirely different histories.

6 changed files with 63 additions and 65 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
python3 -m pip install --break-system-packages normcap
python3 -m pip install normcap

View File

@ -21,7 +21,7 @@ lbzip2
xz-utils
zstd
p7zip-full
#p7zip-rar
p7zip-rar
zip
unzip
hwinfo

View File

@ -1,15 +1,28 @@
firmware-amd-graphics
firmware-atheros
firmware-bnx2
firmware-bnx2x
firmware-brcm80211
firmware-iwlwifi
firmware-realtek
firmware-cavium
firmware-intel-sound
firmware-sof-signed
firmware-intelwimax
firmware-ipw2x00
firmware-ivtv
firmware-iwlwifi
firmware-realtek
firmware-libertas
firmware-linux
firmware-linux-free
firmware-linux-nonfree
firmware-misc-nonfree
firmware-myricom
firmware-netronome
firmware-netxen
firmware-qcom-media
firmware-qlogic
firmware-realtek
firmware-samsung
firmware-siano
firmware-ti-connectivity
firmware-zd1211
amd64-microcode
intel-microcode

View File

@ -23,12 +23,14 @@ gedit
gnome-calculator
vlc
hardinfo
network-manager
network-manager/bullseye-backports
network-manager-gnome
remmina
remmina-common
remmina-plugin-vnc
remmina-plugin-rdp
libnm0/bullseye-backports
remmina/bullseye-backports
remmina-common/bullseye-backports
remmina-plugin-vnc/bullseye-backports
remmina-plugin-rdp/bullseye-backports
remmina-plugin-spice/bullseye-backports
virt-manager
gir1.2-spiceclientgtk-3.0
libvirt-clients

View File

@ -18,4 +18,4 @@ openssh-client
openssh-sftp-server
libnss3-tools
wpasupplicant
torbrowser-launcher
torbrowser-launcher/bullseye-backports

89
make.sh
View File

@ -28,7 +28,7 @@ pack_name[vm]="Driver Virtualisation"
pack_forced=(live cli disk net firmware)
pack_default=(dm-common gui xfce4 cinnamon libreoffice)
pack_default=(dm-common xfce4 gui)
nb_hooks=0
@ -42,8 +42,6 @@ do
hooks+="$basename "
done
#default DISABLE sid
sid=-1
_usage()
{
@ -149,7 +147,7 @@ _config()
--architectures amd64 \
--distribution $debian_version \
--binary-images iso-hybrid \
--archive-areas "main contrib non-free-firmware" \
--archive-areas "main contrib non-free" \
--debian-installer none \
--apt-recommends false \
--updates true \
@ -176,84 +174,78 @@ _build()
printf "\e[96mBootstrap new root filesystem\e[0m\n"
lb bootstrap
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
#printf "\e[96mBuild live OS file system\e[0m\n"
#lb chroot
#[[ $? -eq 0 ]] || _exit_error
#[[ $? -eq 0 ]] || exit
printf "\e[96mBuild live OS file system\e[0m\n"
lb chroot_cache restore
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_prep install all mode-archives-chroot
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_devpts install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_proc install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_selinuxfs install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_sysfs install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_debianchroot install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_dpkg install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_tmpfs install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_sysv-rc install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_hosts install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_resolv install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_hostname install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_apt install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_archives chroot install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_linux-image
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_firmware
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_preseed
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_includes_before_packages
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
[[ $sid -eq 0 ]] && _sid
lb chroot_package-lists install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_install-packages install
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_package-lists live
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_install-packages live
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_includes_after_packages
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_hooks
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_hacks
[[ $? -eq 0 ]] || _exit_error
[[ $? -eq 0 ]] || exit
lb chroot_interactive
[[ $? -eq 0 ]] || _exit_error
}
_build_remove()
{
[[ $? -eq 0 ]] || exit
lb chroot_prep remove all mode-archives-chroot
[[ $? -eq 0 ]] || exit
# lb chroot_archives chroot remove
# [[ $? -eq 0 ]] || exit
# lb chroot_apt remove
# [[ $? -eq 0 ]] || exit
lb chroot_archives chroot remove
[[ $? -eq 0 ]] || exit
lb chroot_apt remove
[[ $? -eq 0 ]] || exit
lb chroot_hostname remove
[[ $? -eq 0 ]] || exit
lb chroot_resolv remove
@ -388,14 +380,6 @@ _create_iso()
}
_exit_error()
{
printf "\e[91mError\e[0m\n"
_build_remove
_delete
exit
}
_delete()
{
printf "\e[96mDelete $build\e[0m\n"
@ -427,11 +411,10 @@ _check
[[ $default = true ]] && pack=("${pack_forced[@]} ${pack_default[@]}") || _choose
_config
_build
_build_remove
mkdir -p $build/chroot/etc/skel/.ssh
cp -v $USER_HOME/.ssh/{config,key_rsa_majalis,key_rsa_majalis.pub} $build/chroot/etc/skel/.ssh
ssh-keygen -f $USER_HOME/.ssh/known_hosts -q -H -F ssh.netdldata.net > $build/chroot/etc/skel/.ssh/known_hosts
ssh-keygen -f $USER_HOME/.ssh/known_hosts -q -H -F netdldata.net > $build/chroot/etc/skel/.ssh/known_hosts
_prep_mounts
_create_squashfs