Skip to content

Commit

Permalink
Update system after extracting rootfs
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Dec 27, 2018
1 parent 340e64c commit bfc83cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ rootfs: base.tar.xz
@echo -e '\e[1;31mBuilding rootfs...\e[m'
mkdir rootfs
sudo tar -xpf base.tar.xz -C rootfs
sudo cp -f /etc/resolv.conf rootfs/etc/resolv.conf
sudo chroot rootfs /sbin/xbps-install --sync --update --yes
sudo rm -rf `sudo find rootfs/var/cache/xbps/ -type f`
sudo rm rootfs/etc/resolv.conf
sudo chmod +x rootfs

base.tar.xz:
Expand Down

0 comments on commit bfc83cc

Please sign in to comment.