From 9dd417f1602b0bb2b4beb0be768fbf9f78eff60d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 30 Jun 2014 17:47:13 +0200 Subject: [PATCH] base-system-runit: rebuild the initramfs if usr/bin/dracut exists at post-install time. --- srcpkgs/base-system-runit/INSTALL | 5 +++++ srcpkgs/base-system-runit/template | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/base-system-runit/INSTALL diff --git a/srcpkgs/base-system-runit/INSTALL b/srcpkgs/base-system-runit/INSTALL new file mode 100644 index 0000000000..9db9500209 --- /dev/null +++ b/srcpkgs/base-system-runit/INSTALL @@ -0,0 +1,5 @@ +case "$ACTION" in +post) + [ -x usr/bin/dracut ] && usr/bin/dracut -f + ;; +esac diff --git a/srcpkgs/base-system-runit/template b/srcpkgs/base-system-runit/template index 391ba988fc..05f24545a1 100644 --- a/srcpkgs/base-system-runit/template +++ b/srcpkgs/base-system-runit/template @@ -1,6 +1,6 @@ # Template file for 'base-system-runit' pkgname=base-system-runit -version=0.5 +version=0.6 revision=1 build_style=meta homepage="http://www.voidlinux.eu/"