-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Charles Short <[email protected]>
- Loading branch information
Charles Short
committed
Mar 27, 2024
1 parent
a3f1331
commit 1d6b0f9
Showing
9 changed files
with
77 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: pablo-uefi-arm64 | ||
description: "AMD64 example configuration." | ||
architecture: arm64 | ||
version: 0.1 | ||
schemaVersion: 1 | ||
params: | ||
version: ${version} | ||
tarball: pablo-rootfs-${version}-${architecture}.tar.gz | ||
phases: | ||
- name: "Creating tarball." | ||
stage: bootstrap | ||
options: | ||
suite: bookworm | ||
target: ${params.tarball} | ||
architecture: ${architecture} | ||
setup_hooks: | ||
- 'sync-in overlay/debian/ /' | ||
customize_hooks: | ||
- echo 'root:root' | chroot "$1" chpasswd | ||
- systemctl enable --root="$1" systemd-networkd | ||
- chroot $1 echo "localhost" > $1/etc/hostname | ||
packages: !include manifests/software.yaml | ||
- name: "Creating image" | ||
stage: repart | ||
options: | ||
image: pablo-image-${version}-${architecture}.img | ||
size: 20G | ||
definitions: partitions | ||
- name: "Unpack tarball" | ||
stage: deploy | ||
options: | ||
source: pablo-rootfs-${version}-${architecture}.tar.gz | ||
target: pablo-image-${version}-${architecture}.img |
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,16 @@ | ||
--- | ||
- grub-efi-arm64 | ||
- linux-image-arm64 | ||
- ca-certificates | ||
- vim | ||
- sudo | ||
- net-tools | ||
- openssh-client | ||
- openssh-server | ||
- procps | ||
- less | ||
- dbus | ||
- policykit-1 | ||
- curl | ||
- wget | ||
- ca-certificates |
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,3 @@ | ||
# <file system> <dir> <type> <options> <makeimg args> | ||
LABEL=EFI /efi vfat umask=077 0 1 | ||
LABEL=ROOT / ext4 defaults 0 0 |
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 @@ | ||
localhost |
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 @@ | ||
nameserver 8.8.8.8 |
5 changes: 5 additions & 0 deletions
5
config/uefi-arm64-image/overlay/debian/etc/systemd/network/dhcp.network
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,5 @@ | ||
[Match] | ||
Name=en* | ||
|
||
[Network] | ||
DHCP=yes |
6 changes: 6 additions & 0 deletions
6
config/uefi-arm64-image/overlay/debian/etc/systemd/network/wired.network
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,6 @@ | ||
[Match] | ||
Name=e* | ||
KernelCommandLine=!nfsroot | ||
|
||
[Network] | ||
DHCP=yes |
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,6 @@ | ||
[Partition] | ||
Type=esp | ||
Format=vfat | ||
Label=EFI | ||
SizeMinBytes=500M | ||
SizeMaxBytes=500M |
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,5 @@ | ||
[Partition] | ||
Type=root | ||
Label=ROOT | ||
Format=ext4 | ||
FactoryReset=yes |