Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

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 bfea370 commit 355d13b
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 355d13b

Please sign in to comment.