From d2ac2f3fe5bbef2a31e79ddc7d681e87922cf156 Mon Sep 17 00:00:00 2001 From: Jaiden Riordan Date: Mon, 20 May 2024 18:48:29 -0500 Subject: [PATCH] feat: repart conf --- .../ultramarine-raw-filesystem/50-root.conf | 3 +++ .../ultramarine-raw-filesystem/anda.hcl | 6 +++++ .../ultramarine-raw-filesystem.spec | 27 +++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 ultramarine/ultramarine-raw-filesystem/50-root.conf create mode 100644 ultramarine/ultramarine-raw-filesystem/anda.hcl create mode 100644 ultramarine/ultramarine-raw-filesystem/ultramarine-raw-filesystem.spec diff --git a/ultramarine/ultramarine-raw-filesystem/50-root.conf b/ultramarine/ultramarine-raw-filesystem/50-root.conf new file mode 100644 index 0000000..8ad5cce --- /dev/null +++ b/ultramarine/ultramarine-raw-filesystem/50-root.conf @@ -0,0 +1,3 @@ +[Partition] +Type=root +GrowFileSystem=true \ No newline at end of file diff --git a/ultramarine/ultramarine-raw-filesystem/anda.hcl b/ultramarine/ultramarine-raw-filesystem/anda.hcl new file mode 100644 index 0000000..4ea9423 --- /dev/null +++ b/ultramarine/ultramarine-raw-filesystem/anda.hcl @@ -0,0 +1,6 @@ +project "pkg" { + rpm { + spec = "ultramarine-raw-filesystem.spec" + sources = "." + } +} diff --git a/ultramarine/ultramarine-raw-filesystem/ultramarine-raw-filesystem.spec b/ultramarine/ultramarine-raw-filesystem/ultramarine-raw-filesystem.spec new file mode 100644 index 0000000..fa6a6e3 --- /dev/null +++ b/ultramarine/ultramarine-raw-filesystem/ultramarine-raw-filesystem.spec @@ -0,0 +1,27 @@ +Name: ultramarine-raw-filesystem +Version: 1.0 +Release: 1%{?dist} +Summary: systemd-repart config to automatically extend the root filesystem on raw images +URL: ultramarine-linux.org +Source0: 50-root.conf +License: MIT +BuildArch: noarch + +%description +%{summary} + +%prep + +%build + +%install +mkdir -p %{buildroot}/usr/lib/repart.d +cp -v %{SOURCE0} %{buildroot}/usr/lib/repart.d + + +%files +/usr/lib/repart.d/* + +%changelog +* Mon May 20 2024 Jaiden Riordan +- Initial commit \ No newline at end of file