From f4ae50fbbb37511568ca19e1de552523bac8e625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 28 Nov 2020 18:20:28 +0700 Subject: [PATCH] mkinitcpio: remove noarch --- srcpkgs/mkinitcpio/template | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template index 2f34199b021..f3a1053ef6b 100644 --- a/srcpkgs/mkinitcpio/template +++ b/srcpkgs/mkinitcpio/template @@ -1,8 +1,7 @@ # Template file for 'mkinitcpio' pkgname=mkinitcpio version=28 -revision=1 -archs=noarch +revision=2 build_style=gnu-makefile depends="busybox-static bsdtar bash" short_desc="Next generation of initramfs creation" @@ -30,7 +29,6 @@ post_install() { mkinitcpio-udev_package() { depends="${sourcepkg}>=${version}_${revision} eudev" short_desc+=" - udev support" - archs=noarch pkg_install() { vinstall ${FILESDIR}/udev_hook 644 usr/lib/initcpio/hooks udev vinstall ${FILESDIR}/udev_install 644 usr/lib/initcpio/install udev @@ -40,7 +38,6 @@ mkinitcpio-udev_package() { mkinitcpio-lvm2_package() { depends="${sourcepkg}>=${version}_${revision} lvm2 thin-provisioning-tools" short_desc+=" - lvm2 support" - archs=noarch pkg_install() { vinstall ${FILESDIR}/lvm2_hook 644 usr/lib/initcpio/hooks lvm2 vinstall ${FILESDIR}/lvm2_install 644 usr/lib/initcpio/install lvm2 @@ -54,7 +51,6 @@ mkinitcpio-encrypt_package() { depends="${sourcepkg}>=${version}_${revision} ${sourcepkg}-lvm2>=${version}_${revision} cryptsetup" short_desc+=" - encrypt support" - archs=noarch pkg_install() { vinstall ${FILESDIR}/encrypt_hook 644 usr/lib/initcpio/hooks encrypt vinstall ${FILESDIR}/encrypt_install 644 usr/lib/initcpio/install encrypt @@ -64,7 +60,6 @@ mkinitcpio-encrypt_package() { mkinitcpio-mdadm_package() { depends="${sourcepkg}>=${version}_${revision} mdadm" short_desc+=" - mdadm support" - archs=noarch pkg_install() { vinstall ${FILESDIR}/mdadm_hook 644 usr/lib/initcpio/hooks mdadm vinstall ${FILESDIR}/mdadm_install 644 usr/lib/initcpio/install mdadm @@ -75,7 +70,6 @@ mkinitcpio-mdadm_package() { mkinitcpio-xbps_package() { depends="${sourcepkg}>=${version}_${revision} xbps" short_desc+=" - xbps support" - archs=noarch pkg_install() { vinstall ${FILESDIR}/xbps_install 644 usr/lib/initcpio/install xbps }