aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cortexa57-poky-linux/util-linux/util-linux-switch-root/latest.pkg_postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cortexa57-poky-linux/util-linux/util-linux-switch-root/latest.pkg_postinst')
-rw-r--r--packages/cortexa57-poky-linux/util-linux/util-linux-switch-root/latest.pkg_postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/cortexa57-poky-linux/util-linux/util-linux-switch-root/latest.pkg_postinst b/packages/cortexa57-poky-linux/util-linux/util-linux-switch-root/latest.pkg_postinst
new file mode 100644
index 00000000000..08fd74f1bd5
--- /dev/null
+++ b/packages/cortexa57-poky-linux/util-linux/util-linux-switch-root/latest.pkg_postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+ update-alternatives --install /sbin/switch_root switch_root /sbin/switch_root.util-linux 80