Skip to content
Snippets Groups Projects
Commit 009c5550 authored by Florent Gluck's avatar Florent Gluck
Browse files

nexus-live-exam-os: reduced iso image size by more than 200MB

parent 9a68d369
Branches
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ WORKDIR /live-default ...@@ -16,7 +16,7 @@ WORKDIR /live-default
ADD ${config_dir}/packages.list.chroot config/package-lists/ ADD ${config_dir}/packages.list.chroot config/package-lists/
## Packages to be removed ## Packages to be removed
ADD ${config_dir}/removepkg.hook.chroot config/hooks/live/ ADD ${config_dir}/9999-removepkg.hook.chroot config/hooks/live/
## Add swiss-french keyboard config ## Add swiss-french keyboard config
ADD ${config_dir}/keyboard/keyboard config/includes.chroot/etc/default/ ADD ${config_dir}/keyboard/keyboard config/includes.chroot/etc/default/
......
#!/bin/sh
apt-get remove -y light-locker nano bluetooth bluez bluez-firmware dosfstools raspi-firmware fdisk dnsmasq-base gdisk fuse3 eject avahi-daemon colord cron apparmor acl dns-root-data fxload gcr gnome-icon-theme gnome-keyring gnome-keyring-pkcs11 gnome-themes-extra gnome-themes-extra-data gnupg gnupg-utils gnupg-l10n gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm ifupdown indi-dsi iputils-ping ixo-usb-jtag less mobile-broadband-provider-info modemmanager ntfs-3g parted pinentry-curses pinentry-gnome3 pkexec policykit-1 poppler-data ppp publicsuffix rsync rtkit sane-airscan sane-utils pavucontrol sound-theme-freedesktop uuid-runtime vim-common vim-tiny whiptail xbitmaps xcvt xiccd iw
apt-get clean -y
apt-get autopurge -y
# Remove all packages marked as "rc", i.e. all packages deleted
# from the system but for which configuration files are still present
for i in `dpkg -l|grep ^rc|awk {'print $2'}`;do dpkg --force-all -P $i;done
rm -rf /var/lib/apt/lists/*
task-laptop task-laptop
task-french
task-french-desktop
xfce4 xfce4
xfce4-terminal xfce4-terminal
xfce4-power-manager xfce4-power-manager
xfce4-battery-plugin xfce4-battery-plugin
ca-certificates
ufw ufw
virt-viewer virt-viewer
firmware-iwlwifi firmware-iwlwifi
......
#!/bin/sh
apt-get remove -y light-locker libreoffice-common libreoffice-core firefox-esr firefox-esr-l10n-fr nano vim aspell aspell-fr bluetooth bluez bluez-firmware dosfstools raspi-firmware fdisk
# Remove all packages marked as "rc", i.e. all packages deleted
# from the system but for which configuration files are still present
for i in `dpkg -l|grep ^rc|awk {'print $2'}`;do dpkg --force-all -P $i;done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment