* [PR PATCH] New package: tinyramfs-0.1.0
@ 2022-07-17 9:02 wael444
2022-07-17 9:09 ` [PR PATCH] [Updated] " wael444
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: wael444 @ 2022-07-17 9:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 651 bytes --]
There is a new pull request by wael444 against master on the void-packages repository
https://github.com/wael444/void-packages tinyramfs
https://github.com/void-linux/void-packages/pull/38105
New package: tinyramfs-0.1.0
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/38105.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tinyramfs-38105.patch --]
[-- Type: text/x-diff, Size: 2153 bytes --]
From e3a187dcc0081f8f071c3e890a2530542bafe3b9 Mon Sep 17 00:00:00 2001
From: wael <40663@proton.me>
Date: Sun, 17 Jul 2022 11:58:35 +0300
Subject: [PATCH] New package: tinyramfs-0.1.0
---
srcpkgs/tinyramfs/files/kernel-hook-postinst | 5 +++++
srcpkgs/tinyramfs/files/kernel-hook-postrm | 5 +++++
srcpkgs/tinyramfs/template | 18 ++++++++++++++++++
3 files changed, 28 insertions(+)
create mode 100755 srcpkgs/tinyramfs/files/kernel-hook-postinst
create mode 100755 srcpkgs/tinyramfs/files/kernel-hook-postrm
create mode 100644 srcpkgs/tinyramfs/template
diff --git a/srcpkgs/tinyramfs/files/kernel-hook-postinst b/srcpkgs/tinyramfs/files/kernel-hook-postinst
new file mode 100755
index 000000000000..5a591fd55490
--- /dev/null
+++ b/srcpkgs/tinyramfs/files/kernel-hook-postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+PKGNAME="$1"
+VERSION="$2"
+
+usr/bin/tinyramfs -f -k ${VERSION} boot/initramfs-${VERSION}.img
diff --git a/srcpkgs/tinyramfs/files/kernel-hook-postrm b/srcpkgs/tinyramfs/files/kernel-hook-postrm
new file mode 100755
index 000000000000..0badb451e491
--- /dev/null
+++ b/srcpkgs/tinyramfs/files/kernel-hook-postrm
@@ -0,0 +1,5 @@
+#!/bin/sh
+PKGNAME="$1"
+VERSION="$2"
+
+rm -f boot/initramfs-${VERSION}.img
diff --git a/srcpkgs/tinyramfs/template b/srcpkgs/tinyramfs/template
new file mode 100644
index 000000000000..10c013502ef3
--- /dev/null
+++ b/srcpkgs/tinyramfs/template
@@ -0,0 +1,18 @@
+# Template file for 'tinyramfs'
+pkgname=tinyramfs
+version=0.1.0
+revision=1
+build_style=gnu-makefile
+depends="util-linux cpio binutils eudev kmod"
+short_desc="Tiny initramfs written in POSIX shell"
+maintainer="wael <40663@proton.me>"
+license="GPL-3.0-only"
+homepage="https://github.com/illiliti/tinyramfs"
+distfiles="https://github.com/illiliti/tinyramfs/archive/refs/tags/${version}.zip"
+checksum=0a05bcc6963aa24383ea3dca747c50f8cbdff2621858e5eb9e233cf670cb617d
+
+post_install() {
+ vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 20-tinyramfs
+ vinstall ${FILESDIR}/kernel-hook-postrm 755 etc/kernel.d/post-remove 20-tinyramfs
+ rm -rf ${DESTDIR}/usr/lib/dracut/hook.d/systemd-udev
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
@ 2022-07-17 9:09 ` wael444
2022-07-17 18:30 ` wael444
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: wael444 @ 2022-07-17 9:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 656 bytes --]
There is an updated pull request by wael444 against master on the void-packages repository
https://github.com/wael444/void-packages tinyramfs
https://github.com/void-linux/void-packages/pull/38105
New package: tinyramfs-0.1.0
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/38105.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tinyramfs-38105.patch --]
[-- Type: text/x-diff, Size: 2225 bytes --]
From f55754c858aac01515725984995aaff4491ae8b0 Mon Sep 17 00:00:00 2001
From: wael <40663@proton.me>
Date: Sun, 17 Jul 2022 11:58:35 +0300
Subject: [PATCH] New package: tinyramfs-0.1.0
---
srcpkgs/tinyramfs/files/kernel-hook-postinst | 5 +++++
srcpkgs/tinyramfs/files/kernel-hook-postrm | 5 +++++
srcpkgs/tinyramfs/template | 20 ++++++++++++++++++++
3 files changed, 30 insertions(+)
create mode 100755 srcpkgs/tinyramfs/files/kernel-hook-postinst
create mode 100755 srcpkgs/tinyramfs/files/kernel-hook-postrm
create mode 100644 srcpkgs/tinyramfs/template
diff --git a/srcpkgs/tinyramfs/files/kernel-hook-postinst b/srcpkgs/tinyramfs/files/kernel-hook-postinst
new file mode 100755
index 000000000000..5a591fd55490
--- /dev/null
+++ b/srcpkgs/tinyramfs/files/kernel-hook-postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+PKGNAME="$1"
+VERSION="$2"
+
+usr/bin/tinyramfs -f -k ${VERSION} boot/initramfs-${VERSION}.img
diff --git a/srcpkgs/tinyramfs/files/kernel-hook-postrm b/srcpkgs/tinyramfs/files/kernel-hook-postrm
new file mode 100755
index 000000000000..0badb451e491
--- /dev/null
+++ b/srcpkgs/tinyramfs/files/kernel-hook-postrm
@@ -0,0 +1,5 @@
+#!/bin/sh
+PKGNAME="$1"
+VERSION="$2"
+
+rm -f boot/initramfs-${VERSION}.img
diff --git a/srcpkgs/tinyramfs/template b/srcpkgs/tinyramfs/template
new file mode 100644
index 000000000000..f1229cb81378
--- /dev/null
+++ b/srcpkgs/tinyramfs/template
@@ -0,0 +1,20 @@
+# Template file for 'tinyramfs'
+pkgname=tinyramfs
+version=0.1.0
+revision=1
+build_style=gnu-makefile
+depends="util-linux cpio binutils eudev kmod"
+short_desc="Tiny initramfs written in POSIX shell"
+maintainer="wael <40663@proton.me>"
+license="GPL-3.0-only"
+homepage="https://github.com/illiliti/tinyramfs"
+distfiles="https://github.com/illiliti/tinyramfs/archive/refs/tags/${version}.tar.gz"
+checksum=a78ecd56a52a02bc1f4b86ba829a957ad1f83c252bfde66562d5c3ef40be7c51
+# checking requires qemu, locally this still fails
+make_check=no
+
+post_install() {
+ vinstall ${FILESDIR}/kernel-hook-postinst 755 etc/kernel.d/post-install 20-tinyramfs
+ vinstall ${FILESDIR}/kernel-hook-postrm 755 etc/kernel.d/post-remove 20-tinyramfs
+ rm -rf ${DESTDIR}/usr/lib/dracut/hook.d/systemd-udev
+}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
2022-07-17 9:09 ` [PR PATCH] [Updated] " wael444
@ 2022-07-17 18:30 ` wael444
2022-07-18 10:08 ` dkwo
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: wael444 @ 2022-07-17 18:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
New comment by wael444 on void-packages repository
https://github.com/void-linux/void-packages/pull/38105#issuecomment-1186585846
Comment:
as this is an alternative to `dracut`, is there anything more i have to do to this package?
`dracut` is a dependency of `linux-base`. it'd have to be set to be an ignored package inorder to use tinyramfs and not have conflicting initramfs'
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
2022-07-17 9:09 ` [PR PATCH] [Updated] " wael444
2022-07-17 18:30 ` wael444
@ 2022-07-18 10:08 ` dkwo
2022-07-18 10:17 ` wael444
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dkwo @ 2022-07-18 10:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/38105#issuecomment-1187011709
Comment:
Perhaps edit `srcpkgs/xbps-triggers/files/initramfs-regenerate` as done for https://github.com/void-linux/void-packages/pull/29434 ?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
` (2 preceding siblings ...)
2022-07-18 10:08 ` dkwo
@ 2022-07-18 10:17 ` wael444
2022-07-18 12:09 ` dkwo
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: wael444 @ 2022-07-18 10:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
New comment by wael444 on void-packages repository
https://github.com/void-linux/void-packages/pull/38105#issuecomment-1187020087
Comment:
wouldn't it have merge conflicts? It should be merged first before I add the entry.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
` (3 preceding siblings ...)
2022-07-18 10:17 ` wael444
@ 2022-07-18 12:09 ` dkwo
2022-09-26 18:09 ` ahesford
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dkwo @ 2022-07-18 12:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/38105#issuecomment-1187238720
Comment:
I don't know, it's been there forever.
Perhaps a new PR just for the initram choice?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
` (4 preceding siblings ...)
2022-07-18 12:09 ` dkwo
@ 2022-09-26 18:09 ` ahesford
2022-10-01 9:28 ` [PR PATCH] [Closed]: " wael444
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ahesford @ 2022-09-26 18:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 346 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/38105#issuecomment-1258421531
Comment:
Handling of alternative initramfs generators has changed. Please adapt changes from https://github.com/void-linux/void-packages/pull/39284 to make this package use the `initramfs` XBPS alternative group.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Closed]: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
` (5 preceding siblings ...)
2022-09-26 18:09 ` ahesford
@ 2022-10-01 9:28 ` wael444
2023-02-28 18:31 ` dkwo
2023-02-28 18:45 ` apprehensions
8 siblings, 0 replies; 10+ messages in thread
From: wael444 @ 2022-10-01 9:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 498 bytes --]
There's a closed pull request on the void-packages repository
New package: tinyramfs-0.1.0
https://github.com/void-linux/void-packages/pull/38105
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
` (6 preceding siblings ...)
2022-10-01 9:28 ` [PR PATCH] [Closed]: " wael444
@ 2023-02-28 18:31 ` dkwo
2023-02-28 18:45 ` apprehensions
8 siblings, 0 replies; 10+ messages in thread
From: dkwo @ 2023-02-28 18:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
New comment by dkwo on void-packages repository
https://github.com/void-linux/void-packages/pull/38105#issuecomment-1448668604
Comment:
@apprehensions are you still interested in this? do you need help adapting it to the alternative mechanism?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: New package: tinyramfs-0.1.0
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
` (7 preceding siblings ...)
2023-02-28 18:31 ` dkwo
@ 2023-02-28 18:45 ` apprehensions
8 siblings, 0 replies; 10+ messages in thread
From: apprehensions @ 2023-02-28 18:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
New comment by apprehensions on void-packages repository
https://github.com/void-linux/void-packages/pull/38105#issuecomment-1448685696
Comment:
I no longer use void
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-02-28 18:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-17 9:02 [PR PATCH] New package: tinyramfs-0.1.0 wael444
2022-07-17 9:09 ` [PR PATCH] [Updated] " wael444
2022-07-17 18:30 ` wael444
2022-07-18 10:08 ` dkwo
2022-07-18 10:17 ` wael444
2022-07-18 12:09 ` dkwo
2022-09-26 18:09 ` ahesford
2022-10-01 9:28 ` [PR PATCH] [Closed]: " wael444
2023-02-28 18:31 ` dkwo
2023-02-28 18:45 ` apprehensions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).