summaryrefslogtreecommitdiff
path: root/partitions
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2020-11-17 12:45:21 -0500
committerAndrew Cady <d@cryptonomic.net>2020-11-17 12:47:32 -0500
commit56b8ba1c8198bce8eef9a2eb23b10cf115d91133 (patch)
treedfedc740c28d59152d59828941daf6c9d66a0aa0 /partitions
parentfa2c13629e15fe80ad18b214583d9e514f855559 (diff)
new partition tool
Diffstat (limited to 'partitions')
-rw-r--r--partitions/.gitignore1
-rw-r--r--partitions/Makefile5
-rw-r--r--partitions/part1.conf4
-rw-r--r--partitions/part2.conf4
-rw-r--r--partitions/part3.conf4
-rw-r--r--partitions/part4.conf3
-rw-r--r--partitions/part5.conf3
7 files changed, 24 insertions, 0 deletions
diff --git a/partitions/.gitignore b/partitions/.gitignore
new file mode 100644
index 0000000..e35d885
--- /dev/null
+++ b/partitions/.gitignore
@@ -0,0 +1 @@
_build
diff --git a/partitions/Makefile b/partitions/Makefile
new file mode 100644
index 0000000..828e135
--- /dev/null
+++ b/partitions/Makefile
@@ -0,0 +1,5 @@
1
2.PHONY: all
3
4all:
5 ../src/partvi
diff --git a/partitions/part1.conf b/partitions/part1.conf
new file mode 100644
index 0000000..c43d025
--- /dev/null
+++ b/partitions/part1.conf
@@ -0,0 +1,4 @@
1name=samizdat-efi
2type=efi-system-partition
3allocation=64M
4rebuild=always
diff --git a/partitions/part2.conf b/partitions/part2.conf
new file mode 100644
index 0000000..d4a3419
--- /dev/null
+++ b/partitions/part2.conf
@@ -0,0 +1,4 @@
1name=samizdat-grub
2type=bios-grub
3allocation=64M
4rebuild=always
diff --git a/partitions/part3.conf b/partitions/part3.conf
new file mode 100644
index 0000000..a83ed06
--- /dev/null
+++ b/partitions/part3.conf
@@ -0,0 +1,4 @@
1name=samizdat-keys
2type=samizdat-keys
3allocation=256MB
4rebuild=always
diff --git a/partitions/part4.conf b/partitions/part4.conf
new file mode 100644
index 0000000..0115b54
--- /dev/null
+++ b/partitions/part4.conf
@@ -0,0 +1,3 @@
1name=samizdat-root-seed
2type=dm-verity-data
3data_path=../rootfs/samizdat-gold.seed.btrfs
diff --git a/partitions/part5.conf b/partitions/part5.conf
new file mode 100644
index 0000000..fce4b18
--- /dev/null
+++ b/partitions/part5.conf
@@ -0,0 +1,3 @@
1name=samizdat-root-seed-verity
2type=dm-verity-hashes
3data_path=../rootfs/samizdat-gold.seed.btrfs