mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
recipes: pre/post actions
A number of the recipes did not properly label their pre and post
actions, causing the actions to occur in all split packages. This
was corrected by defaulting to _${PN} in most cases.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
This commit is contained in:
committed by
Richard Purdie
parent
6f6bffe5df
commit
92a9d59fcc
@@ -27,7 +27,7 @@ do_configure () {
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
pkg_postinst_${PN} () {
|
||||
touch $D${sysconfdir}/shells
|
||||
grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells
|
||||
grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells
|
||||
|
||||
@@ -28,7 +28,7 @@ do_configure () {
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
pkg_postinst_${PN} () {
|
||||
touch $D${sysconfdir}/shells
|
||||
grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells
|
||||
grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells
|
||||
|
||||
Reference in New Issue
Block a user