diff options
author | Jeonghoon Park <jh1979.park@samsung.com> | 2021-06-18 14:28:53 +0900 |
---|---|---|
committer | 박정훈/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <jh1979.park@samsung.com> | 2021-07-09 11:28:30 +0900 |
commit | d2bbaed6fedd59227648c335de89020d53630de1 (patch) | |
tree | 880d003fc3214b658174bf2ff06b9b6f76289de1 | |
parent | 0fc21de88799e9cf4fda397e09ff4ff1adc8e7cb (diff) | |
download | tic-core-d2bbaed6fedd59227648c335de89020d53630de1.tar.gz tic-core-d2bbaed6fedd59227648c335de89020d53630de1.tar.bz2 tic-core-d2bbaed6fedd59227648c335de89020d53630de1.zip |
update default recipe
-rw-r--r-- | etc/recipe.yaml.in | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/etc/recipe.yaml.in b/etc/recipe.yaml.in index 234f872..1902cbc 100644 --- a/etc/recipe.yaml.in +++ b/etc/recipe.yaml.in @@ -1,7 +1,7 @@ Recipe: Active: true Architecture: armv7l - Attachement: [] + Attachment: [] Baseline: tizen Bootloader: true BootloaderAppend: rw vga=current splash rootwait rootfstype=ext4 @@ -20,7 +20,7 @@ Recipe: NoChrootScripts: - buildname - backup-data - Part: btrfs-rootfs-2parts-ramdisk-recovery + Part: [] PostScripts: - generic-adaptation - generic-base @@ -40,6 +40,7 @@ Recipe: - iot-making-ABB-tag - iot-making-building-blocks-dll - common-cleanup-directory + - generic-depmod RemovePackages: [] Repos: - unified-standard @@ -180,7 +181,7 @@ PostScripts: echo "############### iot-headless-base.post ################" - ######### Execute pkg_initdb if there is no pkgmgr-tool pacakge + ######### Execute pkg_initdb if there is no pkgmgr-tool package rpm -qa | grep pkgmgr-tool @@ -243,3 +244,17 @@ PostScripts: Name: generic-crosswalk - Contents: "#!/bin/sh\necho \"#################### generic-dbus-policychecker.post ####################\"\nif [ -x /usr/bin/dbuspolicy-checker ] ; then\n\tfail_cnt=0\n\tfor f in /etc/dbus-1/system.d/*.conf; do\n\t\techo\n\t\techo \"$0: Checking D-Bus policy file: $f\"\n\t\tresult=$(/usr/bin/dbuspolicy-checker \"$f\")\n\t\tfail=$(echo \"$result\" | grep FAILED | wc -l)\n\t\techo \"$result\"\n\t\tif [ $fail -gt 0 ]; then\n\t\t\techo \"Found $fail Fails\"\n\t\t\techo \"Remove conf file : mv $f $f.fail\"\n\t\t\tmv \"$f\" \"${f}.fail\"\n\t\t\tfail_cnt=$(( ${fail_cnt} + 1 ))\n\t\tfi\n\tdone\n\tif [ $fail_cnt -gt 0 ]; then\n\t\techo \"Error: MIC build exits due to failed cases on dbus policy checker.(${fail_cnt} errors)\"\n\t\texit 1\n\tfi\nfi" Name: generic-dbus-policychecker +- Contents: '#!/bin/sh + + echo "#################### generic-depmod.post ####################" + + for D in /lib/modules/*; do + + [ -d "$D" ] || continue + + [ "$(find "$D" -name "*.ko" -print | head -c1 | wc -c)" -ne 0 ] || continue + + depmod "$(basename $D)" + + done' + Name: generic-depmod |