lsbsetup: fix install process

Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Saul Wold 2010-12-13 00:47:29 -08:00
parent b3b25c84e9
commit 526da3b499
2 changed files with 3 additions and 18 deletions

View File

@ -9,24 +9,9 @@ LIC_FILES_CHKSUM = "file://LSB_Setup.sh;md5=c7360d77e08a7f4f2fa66acf28012e7e"
SRC_URI = "file://LSB_Setup.sh"
LSBFILE=${POKYBASE}/meta/recipes-extended/lsbsetup/lsb/LSB_Setup.sh
S=${WORKDIR}
do_unpack(){
cp ${LSBFILE} ${WORKDIR}
}
do_patch(){
:
}
do_configure(){
:
}
do_install(){
mkdir -p ${D}/usr/bin
cp ${LSBFILE} ${D}/usr/bin
do_install() {
# Only install file if it has a contents
install -m 0644 ${S}/LSB_Setup.sh ${D}/usr/bin
}