* [Buildroot] [buildroot 0002674]: patch-kernel.sh failes on newer versions of Ubuntu
@ 2008-03-25 15:20 bugs at busybox.net
0 siblings, 0 replies; 2+ messages in thread
From: bugs at busybox.net @ 2008-03-25 15:20 UTC (permalink / raw)
To: buildroot
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=2674
======================================================================
Reported By: antab
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 2674
Category: Standards Compliance
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 03-25-2008 08:20 PDT
Last Modified: 03-25-2008 08:20 PDT
======================================================================
Summary: patch-kernel.sh failes on newer versions of Ubuntu
Description:
The patch-kernel.sh script fails on newer versions of Ubuntu (and debian)
where the /bin/sh link has been changed form /bin/bash to /bin/dash. The
script will fail at line 23:
for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
where dash dosen't expand the ${patchpattern} but passes it directly to
ls. Quick fix is to relink /bin/sh to bash, but scripts that depend on
bash only features should NOT use /bin/sh but /bin/bash directly.
more about the difference between dash and bash at:
https://wiki.ubuntu.com/DashAsBinSh.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
03-25-08 08:20 antab New Issue
03-25-08 08:20 antab Status new => assigned
03-25-08 08:20 antab Assigned To => buildroot
======================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread* [Buildroot] [buildroot 0002674]: patch-kernel.sh failes on newer versions of Ubuntu
@ 2008-03-26 3:45 bugs at busybox.net
0 siblings, 0 replies; 2+ messages in thread
From: bugs at busybox.net @ 2008-03-26 3:45 UTC (permalink / raw)
To: buildroot
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=2674
======================================================================
Reported By: antab
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 2674
Category: Standards Compliance
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 03-25-2008 08:20 PDT
Last Modified: 03-25-2008 20:45 PDT
======================================================================
Summary: patch-kernel.sh failes on newer versions of Ubuntu
Description:
The patch-kernel.sh script fails on newer versions of Ubuntu (and debian)
where the /bin/sh link has been changed form /bin/bash to /bin/dash. The
script will fail at line 23:
for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
where dash dosen't expand the ${patchpattern} but passes it directly to
ls. Quick fix is to relink /bin/sh to bash, but scripts that depend on
bash only features should NOT use /bin/sh but /bin/bash directly.
more about the difference between dash and bash at:
https://wiki.ubuntu.com/DashAsBinSh.
======================================================================
----------------------------------------------------------------------
hmoffatt - 03-25-08 20:45
----------------------------------------------------------------------
Can't reproduce this on Debian (changed top of script to #!/bin/dash
instead). Which package?
Mind you there doesn't seem to be any need to use ${x} throughout the
script rather than $x.
Issue History
Date Modified Username Field Change
======================================================================
03-25-08 08:20 antab New Issue
03-25-08 08:20 antab Status new => assigned
03-25-08 08:20 antab Assigned To => buildroot
03-25-08 20:45 hmoffatt Note Added: 0005944
======================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-26 3:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25 15:20 [Buildroot] [buildroot 0002674]: patch-kernel.sh failes on newer versions of Ubuntu bugs at busybox.net
-- strict thread matches above, loose matches on Subject: below --
2008-03-26 3:45 bugs at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox