[vuplus-dvb-proxy] fix postinst error.
authorhschang <chang@dev3>
Thu, 29 Oct 2015 07:38:14 +0000 (16:38 +0900)
committerhschang <chang@dev3>
Thu, 29 Oct 2015 09:46:25 +0000 (18:46 +0900)
meta-bsp/recipes-vuplus/vuplus-dvb-proxy/vuplus-dvb-proxy-vuduo2.bb
meta-bsp/recipes-vuplus/vuplus-dvb-proxy/vuplus-dvb-proxy-vusolo2.bb
meta-bsp/recipes-vuplus/vuplus-dvb-proxy/vuplus-dvb-proxy-vusolo4k.bb
meta-bsp/recipes-vuplus/vuplus-dvb-proxy/vuplus-dvb-proxy-vusolose.bb

index 78186d7..20d5988 100644 (file)
@@ -6,9 +6,10 @@ SRCDATE = "20150623"
 SRCDATE_PR = "r0"
 
 pkg_postinst_${PN}_append () {
 SRCDATE_PR = "r0"
 
 pkg_postinst_${PN}_append () {
-  ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7424.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       if [ ! -f $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko ]; then
+               ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7424.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       fi
 }
 
 }
 
-
 SRC_URI[md5sum] = "08d5922591f7ea6032d08887de0f9e7d"
 SRC_URI[sha256sum] = "c06c268838f0211d2d8f6608c850c8d0ccc61c7acf02b35c58e317bcc088ab28"
 SRC_URI[md5sum] = "08d5922591f7ea6032d08887de0f9e7d"
 SRC_URI[sha256sum] = "c06c268838f0211d2d8f6608c850c8d0ccc61c7acf02b35c58e317bcc088ab28"
index ae7a014..4143e87 100644 (file)
@@ -6,7 +6,9 @@ SRCDATE = "20150623"
 SRCDATE_PR = "r0"
 
 pkg_postinst_${PN}_append () {
 SRCDATE_PR = "r0"
 
 pkg_postinst_${PN}_append () {
-  ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7356.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       if [ ! -f $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko ]; then
+               ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7356.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       fi
 }
 
 SRC_URI[md5sum] = "de62591027238991b0a81232a49ad6a8"
 }
 
 SRC_URI[md5sum] = "de62591027238991b0a81232a49ad6a8"
index e764785..c0ef9ac 100644 (file)
@@ -6,7 +6,9 @@ SRCDATE = "20151019"
 SRCDATE_PR = "r1"
 
 pkg_postinst_${PN}_append () {
 SRCDATE_PR = "r1"
 
 pkg_postinst_${PN}_append () {
-  ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7376.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       if [ ! -f $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko ]; then
+               ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7376.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       fi
 }
 
 SRC_URI[md5sum] = "b8558478da7a5b7fe2ef9c2796604e1f"
 }
 
 SRC_URI[md5sum] = "b8558478da7a5b7fe2ef9c2796604e1f"
index 979e038..a884ff8 100644 (file)
@@ -6,7 +6,9 @@ SRCDATE = "20150623"
 SRCDATE_PR = "r0"
 
 pkg_postinst_${PN}_append () {
 SRCDATE_PR = "r0"
 
 pkg_postinst_${PN}_append () {
-  ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7241.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       if [ ! -f $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko ]; then
+               ln -s /lib/modules/${KERNEL_VERSION}/extra/dvb-bcm7241.ko $D/lib/modules/${KERNEL_VERSION}/extra/dvb-bcm.ko
+       fi
 }
 
 SRC_URI[md5sum] = "ef806019a6136f8511db1816e7e5c483"
 }
 
 SRC_URI[md5sum] = "ef806019a6136f8511db1816e7e5c483"