aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 20:35:24 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 20:35:24 -0600
commit23273bd664d3294790a7453e9fabb6056cbeceb2 (patch)
tree5437706a0ae7cd494e5eb1379a654189ad9ca3d0 /main
parentf88cc86a06880f4c432e5cbeec04663e024b0b5e (diff)
downloadaports-23273bd664d3294790a7453e9fabb6056cbeceb2.tar.bz2
aports-23273bd664d3294790a7453e9fabb6056cbeceb2.tar.xz
main/mkinitfs: xen support
Diffstat (limited to 'main')
-rw-r--r--main/mkinitfs/APKBUILD6
-rw-r--r--main/mkinitfs/xen-domU.patch26
2 files changed, 30 insertions, 2 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index a659a5f195..b07e5922d3 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,13 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=2.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox apk-tools>=2.0"
triggers="$pkgname.trigger:/usr/share/kernel/*"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
eglibc.patch
+ xen-domU.patch
"
arch="all"
license="GPL-2"
@@ -43,4 +44,5 @@ package() {
make install DESTDIR="$pkgdir" || return 1
}
md5sums="fb53ace85fc7d1980bc19cb258ed00c4 mkinitfs-2.3.0.tar.bz2
-e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch"
+e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch
+06e91176fc8272557ffa46a5f4110384 xen-domU.patch"
diff --git a/main/mkinitfs/xen-domU.patch b/main/mkinitfs/xen-domU.patch
new file mode 100644
index 0000000000..a6e282f643
--- /dev/null
+++ b/main/mkinitfs/xen-domU.patch
@@ -0,0 +1,26 @@
+--- mkinitfs-2.3.0.orig/Makefile
++++ mkinitfs-2.3.0/Makefile
+@@ -16,6 +16,7 @@
+ modules.d/ext3 \
+ modules.d/ext4 \
+ modules.d/floppy \
++ modules.d/jfs \
+ modules.d/lvm \
+ modules.d/raid \
+ modules.d/reiserfs \
+@@ -23,9 +24,11 @@
+ modules.d/ubifs \
+ modules.d/usb \
+ modules.d/xfs \
++ modules.d/xen \
+ files.d/bootchart \
+ files.d/base \
+- files.d/lvm
++ files.d/lvm \
++ files.d/xen
+
+ SCRIPTS := $(SBIN_FILES) initramfs-init
+ IN_FILES := $(addsuffix .in,$(SCRIPTS))
+Only in mkinitfs-2.3.0/: files.d/xen
+Only in mkinitfs-2.3.0/: modules.d/jfs
+Only in mkinitfs-2.3.0/: modules.d/xen