Home
last modified time | relevance | path

Searched refs:intercept_script (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/yocto/poky/scripts/postinst-intercepts/
H A Dpostinst_intercept21 intercept_script=$INTERCEPT_DIR/$1 && shift
26 [ -f "$intercept_script" ] || exit 1
32 ml_intercept_script=$intercept_script-$mlprefix
35 cp $intercept_script $ml_intercept_script
41 intercept_script=$ml_intercept_script
44 chmod +x "$intercept_script"
46 pkgs_line=$(grep "##PKGS:" $intercept_script)
50 sed -i -e "s/##PKGS:.*/\0${package_name} /" $intercept_script
54 sed -i -e "\%^#\!/bin/.*sh%a $var" $intercept_script
56 echo "##PKGS: ${package_name} " >> $intercept_script