mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 15:06:58 +02:00
usr(locale): delete local and lvm stuff that is not needed
This commit is contained in:
parent
010863d788
commit
abd1c40b3d
@ -38,6 +38,9 @@ setup_prod_image() {
|
|||||||
sudo rm ${root_fs_dir}/etc/gentoo-release
|
sudo rm ${root_fs_dir}/etc/gentoo-release
|
||||||
sudo rm -rf ${root_fs_dir}/var/db/pkg
|
sudo rm -rf ${root_fs_dir}/var/db/pkg
|
||||||
sudo rm ${root_fs_dir}/var/db/Makefile
|
sudo rm ${root_fs_dir}/var/db/Makefile
|
||||||
|
sudo rm ${root_fs_dir}/etc/locale.gen
|
||||||
|
sudo rm -rf ${root_fs_dir}/etc/lvm/
|
||||||
|
|
||||||
# clear them out explicitly, so this fails if something else gets dropped
|
# clear them out explicitly, so this fails if something else gets dropped
|
||||||
# into xinetd.d
|
# into xinetd.d
|
||||||
sudo rm ${root_fs_dir}/etc/xinetd.d/rsyncd
|
sudo rm ${root_fs_dir}/etc/xinetd.d/rsyncd
|
||||||
|
Loading…
Reference in New Issue
Block a user