forked from ChimeraOS/install-media
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a56fb7
commit f4597de
Showing
5 changed files
with
109 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[Trigger] | ||
Type = Path | ||
Operation = Install | ||
Operation = Upgrade | ||
Operation = Remove | ||
Target = usr/lib/initcpio/* | ||
Target = usr/lib/firmware/* | ||
Target = usr/src/*/dkms.conf | ||
|
||
[Trigger] | ||
Type = Path | ||
Operation = Install | ||
Operation = Upgrade | ||
Target = usr/lib/modules/*/vmlinuz | ||
|
||
[Trigger] | ||
Type = Package | ||
Operation = Install | ||
Operation = Upgrade | ||
Target = mkinitcpio | ||
Target = mkinitcpio-git | ||
|
||
[Trigger] | ||
Type = Package | ||
Operation = Install | ||
Operation = Upgrade | ||
Target = dracut | ||
Target = dracut-git | ||
|
||
[Trigger] | ||
Type = Package | ||
Operation = Install | ||
Operation = Upgrade | ||
Target = frzr | ||
Target = frzr-git | ||
|
||
[Action] | ||
Description = Updating frzr bootloader entries... | ||
When = PostTransaction | ||
Exec = /usr/bin/frzr bootloader | ||
NeedsTargets |
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 @@ | ||
build: clean | ||
makepkg | ||
makepkg --printsrcinfo > .SRCINFO | ||
|
||
clean: | ||
rm -rf *.tar.* *.pkg.* src pkg |
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,54 @@ | ||
# Maintainer: Alesh Slovak <[email protected]> | ||
|
||
pkgname=frzr-git | ||
pkgver=r236.33192f9 | ||
pkgrel=1 | ||
pkgdesc="A deployment and update system for read-only btrfs subvolume based operating systems" | ||
arch=('any') | ||
url="https://github.com/boukehaarsma23/frzr" | ||
license=('MIT') | ||
depends=('btrfs-progs' 'parted' 'libnewt' 'dosfstools' 'jq' 'util-linux' 'skopeo') | ||
optdepends=( | ||
'dracut: generate initramfs for kernels installed via frzr kernel command' | ||
) | ||
source=(frzr::'git+https://github.com/boukehaarsma23/frzr.git' | ||
'99-frzr-kernel-install.hook') | ||
md5sums=('SKIP' | ||
'6bc04b77f135f2bf7d07c2f8c0ffaca0') | ||
sha256sums=('SKIP' | ||
'0dc3772b4c9a96ad33993be1245f23af32ee765ad6fca4e2310a8683ada5cbcc') | ||
|
||
pkgver() { | ||
cd "${pkgname%-git}" | ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" | ||
} | ||
|
||
|
||
package() { | ||
mkdir -p "$pkgdir/usr/bin" | ||
mkdir -p "$pkgdir/usr/lib/frzr" | ||
mkdir -p "$pkgdir/usr/lib/systemd/system" | ||
mkdir -p "$pkgdir/usr/share/libalpm/hooks" | ||
install -m 755 "$srcdir/frzr/frzr" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/__frzr" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-deploy" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/__frzr-deploy" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-unlock" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/__frzr-unlock" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-bootloader" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/__frzr-bootloader" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-version" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/__frzr-version" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-bootstrap" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/__frzr-bootstrap" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/__frzr-envars" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-source" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-extras" "$pkgdir/usr/bin" | ||
install -m 755 "$srcdir/frzr/frzr-release" "$pkgdir/usr/bin" | ||
#install -m 644 "$srcdir/frzr-$pkgver/mkinitcpio.conf" "$pkgdir/usr/lib/frzr" | ||
install -m 644 "$srcdir/frzr/frzr-autoupdate.service" "$pkgdir/usr/lib/systemd/system" | ||
install -m 644 "$srcdir/frzr/frzr-autoupdate.timer" "$pkgdir/usr/lib/systemd/system" | ||
install -m 644 "$srcdir/99-frzr-kernel-install.hook" "$pkgdir/usr/share/libalpm/hooks" | ||
|
||
echo 'g frzr 379 - -' | install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" | ||
} |
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ dhcpcd | |
diffutils | ||
dosfstools | ||
efibootmgr | ||
frzr | ||
frzr-git | ||
git | ||
gamescope | ||
intel-ucode | ||
|