mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add base_common_cleanup
This commit is contained in:
parent
6566516c81
commit
e26e5beb97
1 changed files with 15 additions and 0 deletions
15
usr/lib/archboot/cpio/hooks/base_common_cleanup
Normal file
15
usr/lib/archboot/cpio/hooks/base_common_cleanup
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
_run ()
|
||||
{
|
||||
! grep -qw 'archboot' /etc/hostname && return
|
||||
_APPS="journalctl setfont mkfs.btrfs gzip systemctl mountpoint"
|
||||
_install_files
|
||||
for i in ${_APPS}; do
|
||||
rm /usr/bin/"${i}"
|
||||
done
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=4 sw=4 et:
|
Loading…
Reference in a new issue