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 #!/bin/sh
python3 -m pip install --break-system-packages normcap python3 -m pip install normcap

View File

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

View File

@ -1,15 +1,28 @@
firmware-amd-graphics firmware-amd-graphics
firmware-atheros firmware-atheros
firmware-bnx2
firmware-bnx2x
firmware-brcm80211 firmware-brcm80211
firmware-iwlwifi firmware-cavium
firmware-realtek
firmware-intel-sound firmware-intel-sound
firmware-sof-signed firmware-intelwimax
firmware-ipw2x00
firmware-ivtv
firmware-iwlwifi firmware-iwlwifi
firmware-realtek firmware-libertas
firmware-linux firmware-linux
firmware-linux-free firmware-linux-free
firmware-linux-nonfree firmware-linux-nonfree
firmware-misc-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 amd64-microcode
intel-microcode intel-microcode

View File

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

View File

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