summaryrefslogtreecommitdiff
path: root/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-11-04 08:59:02 +0000
committerKoen Kooi <koen@openembedded.org>2006-11-04 08:59:02 +0000
commit01d89442ec83daafb95343634768ffc86a61b68e (patch)
tree610dc0cc4350678a89098cea8952bc695cc756a8 /packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb
parent7c89c8d4a8902ae8d59db3df91fd6da73ae2e056 (diff)
update-alternatives: add from poky
* Poky rev 728: "Sync up.. all the deb/dpkg changes which I have locally are now in svn."
Diffstat (limited to 'packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb')
-rw-r--r--packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb b/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb
new file mode 100644
index 0000000000..6c193f9603
--- /dev/null
+++ b/packages/update-alternatives/update-alternatives-dpkg-native_1.13.22.bb
@@ -0,0 +1,14 @@
+require update-alternatives-dpkg.inc
+inherit native
+
+PROVIDES += "virtual/update-alternatives-native"
+DEPENDS += "perl-native dpkg-native"
+DEFAULT_PREFERENCE = "-1"
+
+do_stage () {
+ install -d ${sbindir} \
+ ${localstatedir}/dpkg/alternatives \
+ ${sysconfdir}/alternatives
+
+ install -m 0755 scripts/update-alternatives ${sbindir}/update-alternatives
+}