From 8af94706fb55e7b0960ece0bf9336886786985bf Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 30 Jun 2015 17:57:53 +0200 Subject: [PATCH] mkinitcpio: noarch=yes on subpkgs --- srcpkgs/mkinitcpio/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template index f82a6c08aa3..832bbb4b6da 100644 --- a/srcpkgs/mkinitcpio/template +++ b/srcpkgs/mkinitcpio/template @@ -1,7 +1,7 @@ # Template file for 'mkinitcpio' pkgname=mkinitcpio version=18 -revision=1 +revision=2 noarch=yes build_style=gnu-makefile depends="busybox-static bsdcpio" @@ -26,6 +26,7 @@ post_install() { mkinitcpio-udev_package() { depends="${sourcepkg}>=${version}_${revision} eudev" short_desc+=" - udev support" + noarch=yes pkg_install() { vinstall ${FILESDIR}/udev_hook 644 usr/lib/initcpio/hooks udev vinstall ${FILESDIR}/udev_install 644 usr/lib/initcpio/install udev @@ -36,6 +37,7 @@ mkinitcpio-lvm2_package() { depends="${sourcepkg}>=${version}_${revision} lvm2 thin-provisioning-tools" short_desc+=" - lvm2 support" conf_files="/usr/lib/initcpio/conf/lvm.conf" + noarch=yes pkg_install() { vinstall ${FILESDIR}/lvm2_hook 644 usr/lib/initcpio/hooks lvm2 vinstall ${FILESDIR}/lvm2_install 644 usr/lib/initcpio/install lvm2 @@ -50,6 +52,7 @@ mkinitcpio-encrypt_package() { depends="${sourcepkg}>=${version}_${revision} ${sourcepkg}-lvm2>=${version}_${revision} cryptsetup" short_desc+=" - encrypt support" + noarch=yes pkg_install() { vinstall ${FILESDIR}/encrypt_hook 644 usr/lib/initcpio/hooks encrypt vinstall ${FILESDIR}/encrypt_install 644 usr/lib/initcpio/install encrypt @@ -59,6 +62,7 @@ mkinitcpio-encrypt_package() { mkinitcpio-mdadm_package() { depends="${sourcepkg}>=${version}_${revision} mdadm" short_desc+=" - mdadm support" + noarch=yes pkg_install() { vinstall ${FILESDIR}/mdadm_hook 644 usr/lib/initcpio/hooks mdadm vinstall ${FILESDIR}/mdadm_install 644 usr/lib/initcpio/install mdadm