summaryrefslogtreecommitdiff
path: root/packages/update-alternatives/update-alternatives-dpkg-native_1.13.25.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/update-alternatives/update-alternatives-dpkg-native_1.13.25.bb')
-rw-r--r--packages/update-alternatives/update-alternatives-dpkg-native_1.13.25.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/update-alternatives/update-alternatives-dpkg-native_1.13.25.bb b/packages/update-alternatives/update-alternatives-dpkg-native_1.13.25.bb
new file mode 100644
index 0000000000..d0af4eac7b
--- /dev/null
+++ b/packages/update-alternatives/update-alternatives-dpkg-native_1.13.25.bb
@@ -0,0 +1,14 @@
+require update-alternatives-dpkg.inc
+inherit native
+
+PROVIDES += "virtual/update-alternatives-native"
+DEPENDS = "perl-native"
+DEFAULT_PREFERENCE = "-1"
+
+do_stage () {
+ install -d ${sbindir} \
+ ${localstatedir}/dpkg/alternatives \
+ ${sysconfdir}/alternatives
+
+ install -m 0755 scripts/update-alternatives ${sbindir}/update-alternatives
+}