summarylogtreecommitdiffstats
path: root/raspberry-overlayroot.install
diff options
context:
space:
mode:
authorNils Czernia2018-04-19 15:41:20 +0200
committerNils Czernia2018-04-19 15:44:05 +0200
commitf13d972e8fb43202a0389d5308f2aa6bb3abd096 (patch)
tree93f4d34f50b20e283f822c7ea8eb9f898e0abe7b /raspberry-overlayroot.install
parent2684297f03c047a9a87062d2f5d686bd0d63ac63 (diff)
downloadaur-f13d972e8fb43202a0389d5308f2aa6bb3abd096.tar.gz
Error fixed
Diffstat (limited to 'raspberry-overlayroot.install')
-rw-r--r--raspberry-overlayroot.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/raspberry-overlayroot.install b/raspberry-overlayroot.install
new file mode 100644
index 000000000000..6289316f0592
--- /dev/null
+++ b/raspberry-overlayroot.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo " > Please add 'overlayroot' to your HOOKS array in /etc/mkinitcpio.conf and run mkinitcpio -P."
+}
+
+post_remove() {
+ if grep -qs 'overlayroot' /proc/cmdline; then
+ echo " > Please remove 'overlayroot' from your kernel commandline."
+ fi
+ if grep -qs 'overlayroot' /etc/mkinitcpio.conf; then
+ echo " > Please remove 'overlayroot' from your HOOKS array in /etc/mkinitcpio.conf and run mkinitcpio -P."
+ fi
+}