Comment 2 for bug 487456

Revision history for this message
Ari Hyttinen (ari-hyttinen-gmail) wrote : Re: [Bug 487456] [NEW] Missing dependency to bash

Fair enough.

But note that I'm only suggesting that this limitation (installation
scripts should depend on a more limited set of utilities) would apply
to debs required to make system bootable and complete installation. So
I don't think there are many packages that would need to be changed
(grep bin/bash /var/lib/dpkg/info), and changes should be trivial.

I'm currently in a process of building a minimal Ubuntu, because I
want some available Ubuntu packages, and also want easy maintaining so
having a non-broken installation is a priority, but disk space is also
at premium. And I have to say, ubuntu-minimal is not *that* minimal...
Though I'm more irked at having to have perl installed (for debconf).

Though having a really minimal minimal installation would be helpful
for installers and live CDs too, not just embedded type PCs. But this
is wish list stuff, I agree.

2009/11/24 Felix Zielcke <email address hidden>:
> Am Dienstag, den 24.11.2009, 07:37 +0000 schrieb Ari Hyttinen:
>> Public bug reported:
>>
>> Binary package hint: grub2
>>
>> Package installation scripts use #!/bin/bash.
>> Therefore package should pre-depend on bash, I assume?
>>
>> Simple fix: add bash as pre-dependency to this.
>>
>> Better fix, something that would be good for all packages:
>> Installation
>> scripts of essential packages should not depend on bash, dash should
>> be
>> enough!
>>
>
> I'm not that familiar with the Ubuntu procedures so I can't really speak
> for Ubuntu.
> But in my karmic chroot bash is still essential and so according to
> debian-policy which mostly applies as ubuntu-policy too AFAIK, it would
> be wrong to depend on it.
> If a Pre-Depends really would be needed for shell scripts then I think
> this would be a real nightmare,
> So IMO nothing needs to be changed at all.
> Just wishlist to remove the bash dependency at all, but I don't think we
> ever do this in Debian.
>
> --
> Felix Zielcke
> Proud Debian Maintainer and GNU GRUB developer
>
> --
> Missing dependency to bash
> https://bugs.launchpad.net/bugs/487456
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “grub2” package in Ubuntu: New
>
> Bug description:
> Binary package hint: grub2
>
> Package installation scripts use #!/bin/bash.
> Therefore package should pre-depend on bash, I assume?
>
> Simple fix: add bash as pre-dependency to this.
>
> Better fix, something that would be good for all packages: Installation scripts of essential packages should not depend on bash, dash should be enough!
>