Skip to content

Commit

Permalink
swap over to modifying ISO contents for asset ingestion
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Dec 21, 2019
1 parent 1e60682 commit e9d36b6
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
- BRANCH="voyager-buster"
- GITHUB_ENDPOINT="netbootxyz/debian-squash"
- DEBIAN_FRONTEND="noninteractive"
- BUILD_TYPE="iso_extraction"
- BUILD_TYPE="initrd_patch"

branches:
only:
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM netbootxyz/mod-layers:debian-10
COPY /root /
ENTRYPOINT [ "/build.sh" ]
4 changes: 3 additions & 1 deletion endpoints.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ endpoints:
path: /debian-squash/releases/download/REPLACE_RELEASE_NAME/
files:
- filesystem.squashfs
- initrd
- vmlinuz
os: "Voyager"
version: "buster"
flavor: "buster"
kernel: "debian-10-live-kernel"
kernel: "voyager-buster-squash"
6 changes: 6 additions & 0 deletions root/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#! /bin/bash

# copy mod layer to unextracted initrd
rsync -a /modlayer/ /buildout/initrd_files/

exit 0
7 changes: 6 additions & 1 deletion settings.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
URL="https://downloads.sourceforge.net/project/voyagerlive/Voyager-10.1-Debian-amd64.iso"
TYPE=file
CONTENTS="\
live/filesystem.squashfs|filesystem.squashfs"
live/filesystem.squashfs|filesystem.squashfs
live/initrd.img*|initrd
live/vmlinuz*|vmlinuz"
EXTRACT_INITRD="true"
INITRD_NAME="initrd"
INITRD_TYPE="gz"

0 comments on commit e9d36b6

Please sign in to comment.