-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile,makerootfs.sh: implement LIVE_FAST=1 option for
make live
The LIVE_FAST=1 uses the recent '--input-tar' parameter for the linuxkit tool, which helps to generate the tarball faster by copying content which was not changed since the previous invocation. Time measurements for the separate makerootfs.sh call: ./tools/makerootfs.sh tar -u -y rootfs-kvm-generic.yml -t rootfs.tar -d installer -a amd64 before ------ real 0m48.262s user 0m50.457s sys 0m2.226s with the LIVE_FAST=1 -------------------- real 0m8.240s user 0m7.287s sys 0m2.529s For now this feature considered as experimental, so no documentation or usage is included in makefile. Hopefully we can make this mode as default. Signed-off-by: Roman Penyaev <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters