First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 27420
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Weidner <3.14159@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27420 depends on: Show dependency tree
Show dependency graph
Bug 27420 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-27 06:19 0000
lvmcreate_initrd always fails creating a ramdisk,because the created ramdisk is
too small. this is caused by using `tail -1' which is obsolete and exits with
an error. (/sbin/lvmcreate_initrd line 262) when `tail -1' is replaced by `tail
-n 1' the script works as expected. pls correct using a patch or some sed
script in the ebuild.

------- Comment #1 From Rob Holland 2004-07-08 01:56:08 0000 -------
bash-2.05b$ diff -u lvm-user-1.0.7-r1.ebuild lvm-user-1.0.7-r2.ebuild 
--- lvm-user-1.0.7-r1.ebuild    2004-06-30 18:35:54.000000000 +0100
+++ lvm-user-1.0.7-r2.ebuild    2004-07-08 09:51:22.359606800 +0100
@@ -43,6 +43,9 @@
        # Fix flags
        sed -i -e "54,56d" -e "73d" make.tmpl
 
+       # Fix tail
+       sed -i -e 's/tail -1/tail -n 1/' tools/lvmcreate_initrd
+
        make || die "Make failed"
 }

Easily fixed :)

------- Comment #2 From Eric Edgar (RETIRED) 2005-06-28 10:24:09 0000 -------
This is in the -r4 version of lvm-user.  Closing as fixed.

First Last Prev Next    No search results available      Search page      Enter new bug