]> code.ossystems Code Review - openembedded-core.git/commit
package_deb: skip pre/postrm scripts on upgrade, write only one shebang
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 10 Oct 2014 23:36:42 +0000 (18:36 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Oct 2014 07:06:52 +0000 (08:06 +0100)
commit7b9161dd0c475cca6ea7eb507f7c3c51869eb493
tree6d31d3f9ae103ee6cae38adb9a783e2075cd860f
parent04f48ad3fab4e21a23c46b90f6a62269a1cf1ee7
package_deb: skip pre/postrm scripts on upgrade, write only one shebang

Trying to upgrade busybox removing symlinks but update-alternatives
need these links (sed, cut, tail, etc) in order to work.

Adding test to avoid this scripts on upgrade fix the problem, same
solution are found in package_rpm class.

[YOCTO #6768]

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_deb.bbclass