On Sat, Sep 26, 2020 at 10:40 AM Michael Gloff <[email protected]> wrote:
>
> I was meaning to send the backport request as well. This is a long standing 
> bug and rc hasn't changed in quite some time, so the patch should apply 
> cleanly to dunfell.
> Should I send the patch for dunfell, or can 
> c19c69ae8ddcb37ad5683b6962ec3def37ad4512 be cherry-picked?

No need to send a patch, I'll cherry-pick from master.

Thanks!

Steve

>
> On Sat, Sep 26, 2020 at 12:26 PM Randy MacLeod <[email protected]> 
> wrote:
>>
>> Add Steve, who maintains dunfell.
>>
>> On 2020-09-26 7:27 a.m., [email protected] wrote:
>> > Please backport this to dunfell.
>>
>> Hi Mihai,
>>
>> Steve might do that but it would be better if you
>> could cherry-pick it back, test it, and send a patch:
>>    http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
>>
>> Thanks,
>>
>> ../Randy
>>
>> >
>> > Thanks,
>> > Mihai
>> >
>> > On Sat, Aug 29, 2020 at 06:09 AM, Michael Gloff wrote:
>> >
>> >>
>> >> psplash expects the fifo to be in /run or specified
>> >> by PSPLASH_FIFO_DIR. This patch allows psplash to
>> >> quit normally. Also, fix the work around of using
>> >> echo directly into the fifo and use psplash-write.
>> >>
>> >> Signed-off-by: Michael Gloff <[email protected]>
>> >> ---
>> >>   meta/recipes-core/sysvinit/sysvinit/rc | 9 +++------
>> >>   1 file changed, 3 insertions(+), 6 deletions(-)
>> >>
>> >> diff --git a/meta/recipes-core/sysvinit/sysvinit/rc
>> >> b/meta/recipes-core/sysvinit/sysvinit/rc
>> >> index 7ca41ae1ae..fd1fdd26ba 100755
>> >> --- a/meta/recipes-core/sysvinit/sysvinit/rc
>> >> +++ b/meta/recipes-core/sysvinit/sysvinit/rc
>> >> @@ -26,11 +26,8 @@ startup_progress() {
>> >>           progress=$progress_size
>> >>       fi
>> >>       #echo "PROGRESS is $progress $runlevel $first_step + ($step of
>> >> $num_steps) $step_change $progress_size"
>> >> -    #if type psplash-write >/dev/null 2>&1; then
>> >> -    #    TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true
>> >> -    #fi
>> >> -    if [ -e /mnt/.psplash/psplash_fifo ]; then
>> >> -        echo "PROGRESS $progress" > /mnt/.psplash/psplash_fifo
>> >> +    if type psplash-write >/dev/null 2>&1; then
>> >> +        PSPLASH_FIFO_DIR=/mnt/.psplash psplash-write "PROGRESS 
>> >> $progress" ||
>> >> true
>> >>       fi
>> >>   }
>> >>
>> >> @@ -176,7 +173,7 @@ startup() {
>> >>   #Uncomment to cause psplash to exit manually, otherwise it exits when 
>> >> it sees
>> >> a VC switch
>> >>   if [ "x$runlevel" != "xS" ] && [ ! -x 
>> >> /etc/rc${runlevel}.d/S??xserver-nodm ];
>> >> then
>> >>       if type psplash-write >/dev/null 2>&1; then
>> >> -        TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
>> >> +        PSPLASH_FIFO_DIR=/mnt/.psplash psplash-write "QUIT" || true
>> >>              umount -l /mnt/.psplash
>> >>       fi
>> >>   fi
>> >> --
>> >> 2.28.0
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>>
>>
>> --
>> # Randy MacLeod
>> # Wind River Linux
>>
>> 
>>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142818): 
https://lists.openembedded.org/g/openembedded-core/message/142818
Mute This Topic: https://lists.openembedded.org/mt/76488288/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to