[oe-commits] org.oe.dev autofs: remove dependency on bash, and add rc.update.d stuff to bb file.

mwester commit openembedded-commits at lists.openembedded.org
Wed Nov 21 18:28:09 UTC 2007


autofs: remove dependency on bash, and add rc.update.d stuff to bb file.

Author: mwester at openembedded.org
Branch: org.openembedded.dev
Revision: 368c53375bf9adc477f22c88cc708452ecc18dc1
ViewMTN: http://monotone.openembedded.org/revision/info/368c53375bf9adc477f22c88cc708452ecc18dc1
Files:
1
packages/autofs/autofs-4.1.4/no-bash.patch
packages/autofs/autofs_4.1.4.bb
Diffs:

#
# mt diff -r96fb7b2574341a63bdfc4f962c3b402d854b66ae -r368c53375bf9adc477f22c88cc708452ecc18dc1
#
# 
# 
# add_file "packages/autofs/autofs-4.1.4/no-bash.patch"
#  content [4eb3ed80313c234e6bd2311751e62211135fe24e]
# 
# patch "packages/autofs/autofs_4.1.4.bb"
#  from [a424c6e4fee37df1589d0181c14420a3bc3267c2]
#    to [5f81c9c9ebfabe495127eafbda0ce1c2d3ffa5b7]
# 
============================================================
--- packages/autofs/autofs-4.1.4/no-bash.patch	4eb3ed80313c234e6bd2311751e62211135fe24e
+++ packages/autofs/autofs-4.1.4/no-bash.patch	4eb3ed80313c234e6bd2311751e62211135fe24e
@@ -0,0 +1,18 @@
+diff -Naur autofs-4.1.4/samples.orig/auto.net autofs-4.1.4/samples/auto.net
+--- autofs-4.1.4/samples.orig/auto.net	2007-11-21 11:29:57.000000000 -0600
++++ autofs-4.1.4/samples/auto.net	2007-11-21 11:30:27.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ 
+ # $Id: auto.net,v 1.8 2005/04/05 13:02:09 raven Exp $
+ 
+diff -Naur autofs-4.1.4/samples.orig/auto.smb autofs-4.1.4/samples/auto.smb
+--- autofs-4.1.4/samples.orig/auto.smb	2007-11-21 11:29:57.000000000 -0600
++++ autofs-4.1.4/samples/auto.smb	2007-11-21 11:30:34.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ 
+ # $Id: auto.smb,v 1.3 2005/04/05 13:02:09 raven Exp $
+ 
============================================================
--- packages/autofs/autofs_4.1.4.bb	a424c6e4fee37df1589d0181c14420a3bc3267c2
+++ packages/autofs/autofs_4.1.4.bb	5f81c9c9ebfabe495127eafbda0ce1c2d3ffa5b7
@@ -1,8 +1,8 @@ LICENSE = "GPL"
 DESCRIPTION = "Kernel based automounter for linux."
 SECTION = "base"
 LICENSE = "GPL"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v4/autofs-${PV}.tar.bz2 \
            ${KERNELORG_MIRROR}/pub/linux/daemons/autofs/v4/autofs-4.1.4-misc-fixes.patch;patch=1 \
@@ -12,10 +12,14 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux
            file://Makefile.rules-cross.patch;patch=1 \
 	   file://install.patch;patch=1 \
 	   file://auto.net-sort-option-fix.patch;patch=1 \
-	   file://autofs-additional-distros.patch;patch=1"
+	   file://autofs-additional-distros.patch;patch=1 \
+	   file://no-bash.patch;patch=1"
 
-inherit autotools
+inherit autotools update-rc.d
 
+INITSCRIPT_NAME = "autofs"
+INITSCRIPT_PARAMS = "defaults"
+
 EXTRA_OEMAKE="TARGET_PREFIX=${TARGET_PREFIX}"
 PARALLEL_MAKE = ""
 






More information about the Openembedded-commits mailing list