update cleanup

This commit is contained in:
Tobias Powalowski 2022-12-21 07:21:56 +01:00
parent 06783da65f
commit 58f9825455
3 changed files with 3 additions and 5 deletions

View file

@ -63,8 +63,6 @@ _clean_container() {
rm -r "${1}"/usr/include
rm -r "${1}"/usr/share/{aclocal,applications,audit,awk,bash-completion,common-lisp,emacs,et,fish,gdb,gettext,gettext-[0-9]*,glib-[0-9]*,gnupg,gtk-doc,iana-etc,icons,icu,keyutils,libalpm,libgpg-error,makepkg-template,misc,mkinitcpio,ntp,pixmaps,pkgconfig,readline,screen,smartmontools,ss,tabset,vala,xml,zoneinfo-leaps,man,doc,info,perl[0-9]*,i18n,locale,xtables}
rm -r "${1}"/usr/lib/{audit,awk,bash,binfmt.d,cifs-utils,cmake,coreutils,cryptsetup,dracut,e2fsprogs,engines-[0-9]*,environment.d,gawk,getconf,gettext,girepository-[0-9]*,glib-[0-9]*,gnupg,gssproxy,guile,icu,krb5,ldscripts,libnl,ntfs-3g,pkgconfig,python[0-9]*,rsync,sasl2,siconv,tar,terminfo,xfsprogs,xtables}
# fix vim, clean all perl files and leave libperl.so
find "${1}"/usr/lib/perl[0-9]* -type f ! -name 'libperl.so' -exec rm -rf {} \;
fi
}

View file

@ -220,7 +220,7 @@ _clean_archboot() {
rm -rf "/usr/lib/firmware"
rm -rf "/usr/lib/modules"
rm -rf /usr/lib/{libicu*,libstdc++*}
_SHARE_DIRS="efitools grub hwdata kbd licenses lshw nmap nano pacman refind systemd tc vim zoneinfo"
_SHARE_DIRS="efitools grub hwdata kbd licenses lshw nmap nvim pacman refind systemd tc zoneinfo"
for i in ${_SHARE_DIRS}; do
#shellcheck disable=SC2115
rm -rf "/usr/share/${i}"

View file

@ -172,7 +172,7 @@
</head>
<body>
<h1>Archboot Homepage</h1>
<p>Last update 20.12.2022 18:50 (c) Tobias Powalowski </span><a href="https://archlinux.org/people/developers/#tpowa"><strong>tpowa</strong></a><span dir=""></p>
<p>Last update 21.12.2022 07:09 (c) Tobias Powalowski </span><a href="https://archlinux.org/people/developers/#tpowa"><strong>tpowa</strong></a><span dir=""></p>
<p><span dir=""><a href=""><img src="https://pkgbuild.com/~tpowa/archboot/web/logo.png" alt="Logo" /></a> </span></p>
<p><span dir=""><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=Z7GXKW4MKHK7C"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" alt="Donate" /></a> You like the project? I like coffee :-)</span></p>
<nav id="TOC" role="doc-toc">
@ -643,7 +643,7 @@ initrd (loop)/boot/initramfs_x86_64.img
<h3 data-number="2.9" id="switch-to-full-arch-linux-system"><span class="header-section-number">2.9</span> <strong><span dir="">Switch to full Arch Linux system</span></strong></h3>
<ul>
<li>The <strong>Archboot</strong> system is stripped down to <strong>minimal</strong> space usage.</li>
<li>Though <strong>man/info pages, includes, additional kernel modules (eg. sound)</strong> and other things are <strong>not</strong> provided by default.</li>
<li>Though <strong>perl,python, man/info pages, includes, additional kernel modules (eg. sound)</strong> and other things are <strong>not</strong> provided by default.</li>
</ul>
<ul>
<table>