Skip to content

Commit

Permalink
Makefile: disable systemd firstboot
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 committed Apr 28, 2024
1 parent a080a83 commit 51ee022
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ rootfinal.tmp: glibc.tmp fakeroot.tmp locale.tmp glibc-linux4.pkg.tar.zst
sudo mv -f root.x86_64/etc/mtab.bak root.x86_64/etc/mtab
sudo cp -f pacman.conf root.x86_64/etc/pacman.conf
echo "# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line." | sudo tee root.x86_64/etc/resolv.conf
sudo rm -rf root.x86_64/etc/machine-id
sudo rm -rf root.x86_64/usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service
sudo rm -rf `sudo find root.x86_64/root/ -type f`
sudo rm -rf `sudo find root.x86_64/tmp/ -type f`
@echo -e '\e[1;31mCopy Extra files to rootfs...\e[m'
Expand Down

0 comments on commit 51ee022

Please sign in to comment.