summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-09 13:12:42 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-09 13:13:17 -0600
commit2291f0c7d6cab16c298b5c705453a14dcb72b0ac (patch)
tree66978d84c8e2d27817f47078f4e5640c29e31e41
parentf708e7044393f51f1743a4faf267e4d3938c1ca0 (diff)
downloadimage-2291f0c7d6cab16c298b5c705453a14dcb72b0ac.tar.gz
image-2291f0c7d6cab16c298b5c705453a14dcb72b0ac.tar.bz2
image-2291f0c7d6cab16c298b5c705453a14dcb72b0ac.tar.xz
image-2291f0c7d6cab16c298b5c705453a14dcb72b0ac.zip
Add new phase: all_but_iso
-rwxr-xr-xadelie-build-cd8
-rw-r--r--adelie-build-cd.82
2 files changed, 10 insertions, 0 deletions
diff --git a/adelie-build-cd b/adelie-build-cd
index 3e90f8c..a33d477 100755
--- a/adelie-build-cd
+++ b/adelie-build-cd
@@ -342,6 +342,14 @@ case $PHASE in
prepare_cdroot
create_iso
;;
+ all_but_iso)
+ clean_dirs
+ install_pkgs
+ make_structure
+ make_initrd
+ squash_it
+ prepare_cdroot
+ ;;
*)
fatal
printf 'Unknown phase %s. Stop.\n' $PHASE
diff --git a/adelie-build-cd.8 b/adelie-build-cd.8
index 802bd01..98651b6 100644
--- a/adelie-build-cd.8
+++ b/adelie-build-cd.8
@@ -86,6 +86,8 @@ on the squash root, copy the kernel to the CD root, run any
architecture-specific scripts necessary to make the CD bootable, and then run
.Xr mkisofs 8
to create the .ISO file.
+.It all_but_iso
+Run all of the above phases, except iso, in the above order.
.It all
Run all of the above phases in the above order. This is the default if
.Fl p