build-x86-images: rename to mkiso
This commit is contained in:
parent
04324be18e
commit
41ccf5e202
10
Makefile
10
Makefile
|
@ -34,16 +34,16 @@ COMPRESSOR_THREADS:=$(shell nproc)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
README.md: README.md.in build-x86-images.sh mklive.sh mkrootfs.sh mkplatformfs.sh mkimage.sh mknet.sh
|
README.md: README.md.in mkiso.sh mklive.sh mkrootfs.sh mkplatformfs.sh mkimage.sh mknet.sh
|
||||||
printf '<!-- DO NOT EDIT, generated by make README.md -->\n\n' > README.md
|
printf '<!-- DO NOT EDIT, generated by make README.md -->\n\n' > README.md
|
||||||
cat README.md.in >> README.md
|
cat README.md.in >> README.md
|
||||||
for script in build-x86-images mklive mkrootfs mkplatformfs mkimage mknet; do \
|
for script in mkiso mklive mkrootfs mkplatformfs mkimage mknet; do \
|
||||||
printf '### %s.sh\n\n```\n' "$${script}" >> README.md ; \
|
printf '### %s.sh\n\n```\n' "$${script}" >> README.md ; \
|
||||||
"./$${script}.sh" -h 2>/dev/null >> README.md ; \
|
"./$${script}.sh" -h 2>/dev/null >> README.md ; \
|
||||||
printf '```\n\n' >> README.md ; \
|
printf '```\n\n' >> README.md ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
build-x86-images.sh: mklive.sh
|
mkiso.sh: mklive.sh
|
||||||
|
|
||||||
checksum: distdir-$(DATECODE)
|
checksum: distdir-$(DATECODE)
|
||||||
cd distdir-$(DATECODE)/ && sha256 * > sha256sum.txt
|
cd distdir-$(DATECODE)/ && sha256 * > sha256sum.txt
|
||||||
|
@ -59,9 +59,9 @@ live-iso-all: $(ALL_LIVE_ISO)
|
||||||
live-iso-all-print:
|
live-iso-all-print:
|
||||||
@echo $(ALL_LIVE_ISO) | sed "s: :\n:g"
|
@echo $(ALL_LIVE_ISO) | sed "s: :\n:g"
|
||||||
|
|
||||||
void-live-%.iso: build-x86-images.sh
|
void-live-%.iso: mkiso.sh
|
||||||
@[ -n "${CI}" ] && printf "::group::\x1b[32mBuilding $@...\x1b[0m\n" || true
|
@[ -n "${CI}" ] && printf "::group::\x1b[32mBuilding $@...\x1b[0m\n" || true
|
||||||
$(SUDO) ./build-x86-images.sh -r $(REPOSITORY) -t $*
|
$(SUDO) ./mkiso.sh -r $(REPOSITORY) -t $*
|
||||||
@[ -n "${CI}" ] && printf '::endgroup::\n' || true
|
@[ -n "${CI}" ] && printf '::endgroup::\n' || true
|
||||||
|
|
||||||
rootfs-all: $(ALL_ROOTFS)
|
rootfs-all: $(ALL_ROOTFS)
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
This repository contains several utilities:
|
This repository contains several utilities:
|
||||||
|
|
||||||
* [*mklive.sh*](#mklivesh) - The Void Linux live image generator for x86
|
* [*mklive.sh*](#mklivesh) - The Void Linux live image generator for x86
|
||||||
* [*build-x86-images.sh*](#build-x86-imagessh) - Wrapper script to generate bootable
|
* [*mkiso.sh*](#mkisosh) - Wrapper script to generate bootable and installable live
|
||||||
and installable live images for x86
|
images for i686, x86_64, and aarch64.
|
||||||
* [*mkrootfs.sh*](#mkrootfssh) - The Void Linux rootfs generator for all platforms
|
* [*mkrootfs.sh*](#mkrootfssh) - The Void Linux rootfs generator for all platforms
|
||||||
* [*mkplatformfs.sh*](#mkplatformfssh) - The Void Linux filesystem tool to produce
|
* [*mkplatformfs.sh*](#mkplatformfssh) - The Void Linux filesystem tool to produce
|
||||||
a rootfs for a particular platform
|
a rootfs for a particular platform
|
||||||
|
@ -22,7 +22,7 @@ This repository contains several utilities:
|
||||||
#### Generating x86 live ISOs
|
#### Generating x86 live ISOs
|
||||||
|
|
||||||
To generate a live ISO like the officially-published ones, use
|
To generate a live ISO like the officially-published ones, use
|
||||||
[*build-x86-images.sh*](#build-x86-imagessh). To generate a more basic live ISO
|
[*mkiso.sh*](#mkisosh). To generate a more basic live ISO
|
||||||
(which does not include things like `void-installer`), use [*mklive.sh*](#mklivesh).
|
(which does not include things like `void-installer`), use [*mklive.sh*](#mklivesh).
|
||||||
|
|
||||||
#### Generating ROOTFS tarballs
|
#### Generating ROOTFS tarballs
|
||||||
|
@ -90,10 +90,10 @@ that can change the behavior of the live system:
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### build-x86-images.sh
|
### mkiso.sh
|
||||||
|
|
||||||
```
|
```
|
||||||
Usage: build-x86-images.sh [options ...] [-- mklive options ...]
|
Usage: mkiso.sh [options ...] [-- mklive options ...]
|
||||||
|
|
||||||
Wrapper script around mklive.sh for several standard flavors of live images.
|
Wrapper script around mklive.sh for several standard flavors of live images.
|
||||||
Adds void-installer and other helpful utilities to the generated images.
|
Adds void-installer and other helpful utilities to the generated images.
|
||||||
|
@ -122,7 +122,7 @@ Usage: mklive.sh [options]
|
||||||
Generates a basic live ISO image of Void Linux. This ISO image can be written
|
Generates a basic live ISO image of Void Linux. This ISO image can be written
|
||||||
to a CD/DVD-ROM or any USB stick.
|
to a CD/DVD-ROM or any USB stick.
|
||||||
|
|
||||||
To generate a more complete live ISO image, use build-x86-images.sh.
|
To generate a more complete live ISO image, use mkiso.sh.
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-a <arch> Set XBPS_ARCH in the ISO image
|
-a <arch> Set XBPS_ARCH in the ISO image
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
This repository contains several utilities:
|
This repository contains several utilities:
|
||||||
|
|
||||||
* [*mklive.sh*](#mklivesh) - The Void Linux live image generator for x86
|
* [*mklive.sh*](#mklivesh) - The Void Linux live image generator for x86
|
||||||
* [*build-x86-images.sh*](#build-x86-imagessh) - Wrapper script to generate bootable
|
* [*mkiso.sh*](#mkisosh) - Wrapper script to generate bootable and installable live
|
||||||
and installable live images for x86
|
images for i686, x86_64, and aarch64.
|
||||||
* [*mkrootfs.sh*](#mkrootfssh) - The Void Linux rootfs generator for all platforms
|
* [*mkrootfs.sh*](#mkrootfssh) - The Void Linux rootfs generator for all platforms
|
||||||
* [*mkplatformfs.sh*](#mkplatformfssh) - The Void Linux filesystem tool to produce
|
* [*mkplatformfs.sh*](#mkplatformfssh) - The Void Linux filesystem tool to produce
|
||||||
a rootfs for a particular platform
|
a rootfs for a particular platform
|
||||||
|
@ -20,7 +20,7 @@ This repository contains several utilities:
|
||||||
#### Generating x86 live ISOs
|
#### Generating x86 live ISOs
|
||||||
|
|
||||||
To generate a live ISO like the officially-published ones, use
|
To generate a live ISO like the officially-published ones, use
|
||||||
[*build-x86-images.sh*](#build-x86-imagessh). To generate a more basic live ISO
|
[*mkiso.sh*](#mkisosh). To generate a more basic live ISO
|
||||||
(which does not include things like `void-installer`), use [*mklive.sh*](#mklivesh).
|
(which does not include things like `void-installer`), use [*mklive.sh*](#mklivesh).
|
||||||
|
|
||||||
#### Generating ROOTFS tarballs
|
#### Generating ROOTFS tarballs
|
||||||
|
|
|
@ -72,7 +72,7 @@ usage() {
|
||||||
Generates a basic live ISO image of Void Linux. This ISO image can be written
|
Generates a basic live ISO image of Void Linux. This ISO image can be written
|
||||||
to a CD/DVD-ROM or any USB stick.
|
to a CD/DVD-ROM or any USB stick.
|
||||||
|
|
||||||
To generate a more complete live ISO image, use build-x86-images.sh.
|
To generate a more complete live ISO image, use mkiso.sh.
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-a <arch> Set XBPS_ARCH in the ISO image
|
-a <arch> Set XBPS_ARCH in the ISO image
|
||||||
|
|
Loading…
Reference in New Issue