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