Eliminate libm dependency for casper-md5check

Loïc Grenié loic.grenie at gmail.com
Tue Nov 4 12:02:22 UTC 2008


Package: casper
Version: 1.132ubuntu0.2
Severity: wishlist
Tags: patch

casper-md5check needs libm to run for the single floorl function that
is called in a single point to create an integer.  The floorl function
is useless where it is called, the automatic conversion is sufficient.
I propose the following patch, which allows to remove libm from the
initramfs (150Kb on i386).

-- System Information:
Debian Release: lenny/sid
 APT prefers hardy-updates
 APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,
'hardy-backports'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-21-generic (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages casper depends on:
ii  busybox-initramfs    1:1.1.3-5ubuntu12   Standalone shell setup for initram
ii  dmsetup              2:1.02.20-2ubuntu2  The Linux Kernel Device Mapper use
ii  eject                2.1.5-6ubuntu1      ejects CDs and operates CD-Changer
ii  initramfs-tools      0.85eubuntu39.2     tools for generating an initramfs
ii  localechooser-data   1.42ubuntu5         Lists of locales supported by the
ii  sudo                 1.6.9p10-1ubuntu3.3 Provide limited super user privile
ii  user-setup           1.16ubuntu5         Set up initial user and password
ii  uuid-runtime         1.40.8-2ubuntu2     universally unique id library

casper recommends no packages.

-- no debconf information
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: casper.diff
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081104/03339dae/attachment.ksh>


More information about the ubuntu-users mailing list