-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tools needed for imager. Signed-off-by: Noel Georgi <git@frezbo.dev>
- Loading branch information
Showing
17 changed files
with
326 additions
and
5 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: cpio | ||
variant: scratch | ||
dependencies: | ||
- image: "{{ .TOOLS_PREFIX }}tools-cpio:{{ .TOOLS_REV }}" | ||
to: /rootfs | ||
finalize: | ||
- from: /rootfs | ||
to: / |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: glib | ||
variant: scratch | ||
shell: /bin/bash | ||
dependencies: | ||
- stage: base | ||
steps: | ||
- sources: | ||
- url: https://download.gnome.org/sources/glib/{{ regexReplaceAll ".\\d+$" .glib_version "${1}" }}/glib-{{ .glib_version }}.tar.xz | ||
destination: glib.tar.xz | ||
sha256: "{{ .glib_sha256 }}" | ||
sha512: "{{ .glib_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xf glib.tar.xz --strip-components=1 | ||
meson setup \ | ||
--prefix=/usr \ | ||
-Ddefault_library=both \ | ||
-Dlibelf=disabled \ | ||
-Dselinux=disabled \ | ||
_build | ||
build: | ||
- | | ||
ninja -j $(nproc) -C _build | ||
install: | ||
- | | ||
DESTDIR=/rootfs ninja -C _build install | ||
finalize: | ||
- from: /rootfs | ||
to: / |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: libburn | ||
variant: scratch | ||
shell: /bin/bash | ||
dependencies: | ||
- stage: base | ||
steps: | ||
- sources: | ||
- url: https://files.libburnia-project.org/releases/libburn-{{ .libburn_version }}.tar.gz | ||
destination: libburn.tar.gz | ||
sha256: "{{ .libburn_sha256 }}" | ||
sha512: "{{ .libburn_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xzf libburn.tar.gz --strip-components=1 | ||
./configure \ | ||
--prefix=/usr | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
make install DESTDIR=/rootfs | ||
# rm -rf /rootfs/usr/share | ||
finalize: | ||
- from: /rootfs | ||
to: / |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: libisoburn | ||
variant: scratch | ||
shell: /bin/bash | ||
dependencies: | ||
- stage: base | ||
- stage: libburn | ||
- stage: libisofs | ||
steps: | ||
- sources: | ||
- url: https://files.libburnia-project.org/releases/libisoburn-{{ .libisoburn_version }}.tar.gz | ||
destination: libisoburn.tar.gz | ||
sha256: "{{ .libisoburn_sha256 }}" | ||
sha512: "{{ .libisoburn_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xzf libisoburn.tar.gz --strip-components=1 | ||
./configure \ | ||
--prefix=/usr | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
make install DESTDIR=/rootfs | ||
# we don't need the xorriso-tcltk binary, which is a GUI tool | ||
rm /rootfs/usr/bin/xorriso-tcltk | ||
ln -s xorriso /rootfs/usr/bin/mkisofs | ||
rm -rf /rootfs/usr/share | ||
finalize: | ||
- from: /rootfs | ||
to: / |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: libisofs | ||
variant: scratch | ||
shell: /bin/bash | ||
dependencies: | ||
- stage: base | ||
- stage: libburn | ||
steps: | ||
- sources: | ||
- url: https://files.libburnia-project.org/releases/libisofs-{{ .libisofs_version }}.tar.gz | ||
destination: libisofs.tar.gz | ||
sha256: "{{ .libisofs_sha256 }}" | ||
sha512: "{{ .libisofs_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xzf libisofs.tar.gz --strip-components=1 | ||
./configure \ | ||
--prefix=/usr | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
make install DESTDIR=/rootfs | ||
rm -rf /rootfs/usr/share | ||
finalize: | ||
- from: /rootfs | ||
to: / |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: mtools | ||
variant: scratch | ||
shell: /bin/bash | ||
dependencies: | ||
- stage: base | ||
steps: | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/mtools/mtools-{{ .mtools_version }}.tar.gz | ||
destination: mtools.tar.gz | ||
sha256: "{{ .mtools_sha256 }}" | ||
sha512: "{{ .mtools_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xzf mtools.tar.gz --strip-components=1 | ||
./configure \ | ||
--prefix=/usr \ | ||
--without-x | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
make install DESTDIR=/rootfs | ||
rm -rf /rootfs/usr/share | ||
finalize: | ||
- from: /rootfs | ||
to: / |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: pigz | ||
variant: scratch | ||
shell: /bin/bash | ||
dependencies: | ||
- stage: base | ||
- stage: libburn | ||
steps: | ||
- sources: | ||
- url: https://zlib.net/pigz/pigz-{{ .pigz_version }}.tar.gz | ||
destination: pigz.tar.gz | ||
sha256: "{{ .pigz_sha256 }}" | ||
sha512: "{{ .pigz_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xzf pigz.tar.gz --strip-components=1 | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
install -Dm755 pigz /rootfs/usr/bin/pigz | ||
ln -s pigz /rootfs/usr/bin/unpigz | ||
finalize: | ||
- from: /rootfs | ||
to: / |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: qemu-tools | ||
variant: scratch | ||
shell: /bin/bash | ||
dependencies: | ||
- stage: base | ||
- stage: glib | ||
steps: | ||
- sources: | ||
- url: https://download.qemu.org/qemu-{{ .qemu_version }}.tar.xz | ||
destination: qemu.tar.xz | ||
sha256: "{{ .qemu_sha256 }}" | ||
sha512: "{{ .qemu_sha512 }}" | ||
prepare: | ||
- | | ||
tar -xf qemu.tar.xz --strip-components=1 | ||
./configure \ | ||
--prefix=/usr \ | ||
--without-default-features \ | ||
--disable-system \ | ||
--disable-user \ | ||
--disable-linux-user \ | ||
--disable-bsd-user \ | ||
--disable-docs \ | ||
--disable-install-blobs \ | ||
--enable-stack-protector \ | ||
--enable-tools | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
make DESTDIR=/rootfs install | ||
rm -rf /rootfs/usr/share | ||
finalize: | ||
- from: /rootfs | ||
to: / |
Oops, something went wrong.