Skip to content

Commit 7420712

Browse files
committed
Add chroot target
1 parent 75ee9aa commit 7420712

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ rootfs-unmount:
297297
sudo umount /dev/nbd0
298298
sudo qemu-nbd -d /dev/nbd0
299299

300+
.PHONY: chroot
301+
chroot:
302+
sudo chroot $(ROOTFS_DIR) /bin/sh
303+
300304
.PHONY: rootfs_clean
301305
rootfs_clean:
302306
$(SUDO) rm -rf $(ROOTFS_DIR)

0 commit comments

Comments
 (0)