Hi Ben, On Fri, Dec 29, 2017 at 12:38 AM, Ben Hutchings <b...@decadent.org.uk> wrote:
> Control: severity -1 wishlist > Control: tag -1 upstream > > On Wed, 31 May 2017 08:34:04 +0200 > Alfonso Sanchez-Beato <alfonso.sanchez-be...@canonical.com> wrote: > > Package: klibc-utils > > Version: 2.0.4-8ubuntu3 > > Severity: normal > > Tags: patch > > > > Dear Maintainer, > > > > klibc "reboot" command does not support the reboot syscall argument, so > we > > cannot do things like "reboot recovery" in devices that follow the > Android > > partitions conventions. > > > > This bug has been reported in Ubuntu at > > <https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1692494> > > > > It has also been sent upstream at > > <http://www.zytor.com/pipermail/klibc/2017-May/003957.html> > > > > The attached patch resolves the issue. > > I'm having trouble seeing why this is important. > > - What is a Debian/Ubuntu initramfs doing on a device designed for > Android, which typically doesn't require or support use of an > initramfs? > Android kernels do support and use initramfs (it is always stored in the boot partition of the device). > - Why is it important to have this facility in the initramfs, rather > than in the 'real' system? > To be able to use arguments in the reboot command like "reboot recovery", which will reboot but will use the recovery partition instead of the boot partition for loading the kernel. This sort of functionality is useful when implementing some sort of recovery after being unable to start from the rootfs. Note that regardless of this concrete use case, systemd reboot command does support using arguments and there is no reason for not supporting this in klibc too. > - Doesn't Ubuntu always use busybox and glibc in the initramfs, anyway? > No, it uses klibc. > > (Alternately, try to convince upstream of the importance, as it doesn't > seem to have had any response yet.) > Upstream seems to be dead, there has been no response to any patch sent to the upstream list in years. Thanks, Alfonso > > Ben. > > -- > Ben Hutchings > The two most common things in the universe are hydrogen and stupidity. > >