Re: baffled .. the 2019-01-27 debian-10.0-ppc64-NETINST-1.iso not bootable
On 4/6/19 23:22, John Paul Adrian Glaubitz wrote:
On 4/6/19 10:40 PM, Frank Scheiner wrote:
Ok, looks like there's a "local" keyword used outside of a function in a
partman startup(?) file:
Apr 6 20:22:36 partman: No matching physical volumes found
Apr 6 20:22:36 partman: Reading all physical volumes. This may take
Apr 6 20:22:36 main-menu: (process:4259):
/lib/partman/init.d/26zfs-devices: local: line 19: not in a function
Apr 6 20:22:36 main-menu: INFO: Menu item 'partman-base' succeeded
but requested to be left unconfigured.
But that file () is 5 years old, so maybe the way the shell -
actually `busybox` - handles (or ignored) a "local" keyword outside of a
function has changed?
The installer team just uploaded busybox 1.30 last month  which introduced
at least one serious bug . Might be that busybox 1.30 broke more stuff.
[This issue] for an unrelated project on GitHub claims that this
behaviour ("local" keyword outside of function is evaluated as error)
was introduced with busybox 1.25.1 (from 2016). Not sure why this didn't
hit us earlier then.
[This issue]: https://github.com/opencomputeproject/onie/issues/452