[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#807457: lsinitramfs(8): multiple-segmented initramfs supported



On Sat, 27 Jun 2015 08:53:59 +0900 Osamu Aoki <osamu@debian.org> wrote:
[...]
> In addition to this, I wonder why not offer utility to extract the
> regular compressed initrams by using the same code with trivial changes.
> It is pain to manually extract the new initrd image content.
> 
> I attach patch here one as example against the git master.
[...]

Rather than duplicating code, please combine this with lsinitramfs
(checking $0 to determine which command was invoked) or move the common
code into a shell library.

Most decompression commands are named after the compressor plus 'un' so
I prefer the name 'unmkinitramfs'.

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: