Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431172 - sys-apps/biosdisk 20100611 version bump
Summary: sys-apps/biosdisk 20100611 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://linux.dell.com/biosdisk/
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-08-13 04:57 UTC by Matthew Schultz
Modified: 2012-10-03 12:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
biosdisk-0_p20100611.ebuild (biosdisk-0_p20100611.ebuild,1.05 KB, text/plain)
2012-08-13 04:57 UTC, Matthew Schultz
Details
biosdisk-0.75.2.ebuild.patch (biosdisk-0.75.2.ebuild.patch,1.54 KB, patch)
2012-08-13 15:26 UTC, Matthew Schultz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Schultz 2012-08-13 04:57:53 UTC
Created attachment 321182 [details]
biosdisk-0_p20100611.ebuild

Biosdisk needs a version bump to 20100611 version.  The current version in portage does not work.  It attempts to copy the bios file which is larger than 1.4 megabytes to the dosdisk in the temporary directory and fails.  The install doesn't fail outright and doesn't indicate to the user other than the warning in the message dump that the temporary copy failed.  When booting into the grub entry it creates, the Dell bios attempts to flash and then crashes because the entire file is not there.  This version will fix that problem.  I have verified that 20100611 works with a Dell E6520 Notebook.

I am attaching the new version ebuild.  Since upstream changed the version scheme, it's probably also best to remove the older versions of biosdisk from the portage tree since portage will not see this as a newer version than 0.65 or 0.75.
Comment 1 Matthew Schultz 2012-08-13 05:03:01 UTC
I'd also like to add that the current portage ebuilds don't even specify the proper SRC_URI anymore so if emerge fails to find the tarball on a mirror, it will fail to find it from upstream as well.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-13 13:42:51 UTC
Comment on attachment 321182 [details]
biosdisk-0_p20100611.ebuild

--- biosdisk-0.75.2.ebuild      2012-02-06 20:30:41.000000000 +0100
+++ -   2012-08-13 15:42:41.015479022 +0200
@@ -2,13 +2,20 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-apps/biosdisk/biosdisk-0.75.2.ebuild,v 1.3 2012/02/05 15:29:13 xmw Exp $
 
+EAPI="4"
+
 inherit versionator
 
-MY_PV=$(replace_version_separator 2 '-')
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
+MY_PV=$(get_version_component_range 2)
+MY_PV_YEAR=${MY_PV:1:4}
+MY_PV_MONTH=${MY_PV:5:2}
+MY_PV_DAY=${MY_PV:7:2}
+MY_PV="${MY_PV_MONTH}${MY_PV_DAY}${MY_PV_YEAR}"
+
+S=${WORKDIR}/${PN}
 DESCRIPTION="A script that creates floppy boot images to flash Dell BIOSes"
 HOMEPAGE="http://en.community.dell.com/techcenter/os-applications/w/wiki/linux-projects.aspx"
-SRC_URI="http://linux.dell.com/biosdisk/${PN}-${MY_PV}.tar.gz"
+SRC_URI="http://linux.dell.com/biosdisk/${PN}-git-${MY_PV}.tar.gz"
 LICENSE="GPL-2"
 
 SLOT="0"
@@ -19,14 +26,14 @@
        sys-boot/syslinux"
 
 src_install() {
-       dosbin biosdisk blconf || die
+       dosbin biosdisk blconf
 
-       dodoc AUTHORS README README.dosdisk TODO VERSION || die
-       doman biosdisk.8.gz || die
+       dodoc AUTHORS README README.dosdisk TODO VERSION
+       doman biosdisk.8.gz
 
        insinto /usr/share/biosdisk
-       doins dosdisk.img biosdisk-mkrpm-{redhat,generic}-template.spec || die
+       doins dosdisk.img dosdisk{288,8192}.img biosdisk-mkrpm-{fedora,redhat,generic}-template.spec
 
        insinto /etc
-       doins biosdisk.conf || die
+       doins biosdisk.conf
 }
Comment 3 Matthew Schultz 2012-08-13 15:26:19 UTC
Created attachment 321212 [details, diff]
biosdisk-0.75.2.ebuild.patch

This patch simplifies the ebuild changes for 20100611.
Comment 4 Pacho Ramos gentoo-dev 2012-09-16 10:01:32 UTC
As this is an orphan package, are you willing to proxy maintain it?
http://www.gentoo.org/proj/en/qa/proxy-maintainers/

As you have the hardware to test, I could be your commiter 


+*biosdisk-0_p20100611 (16 Sep 2012)
+
+  16 Sep 2012; Pacho Ramos <pacho@gentoo.org> +biosdisk-0_p20100611.ebuild,
+  -biosdisk-0.65.ebuild, -biosdisk-0.75.2.ebuild:
+  Bump to make it work again, drop old broken versions, bug #431172 by Matthew
+  Schultz.
+
Comment 5 Matthew Schultz 2012-10-03 12:10:26 UTC
(In reply to comment #4)
> As this is an orphan package, are you willing to proxy maintain it?
> http://www.gentoo.org/proj/en/qa/proxy-maintainers/
> 
> As you have the hardware to test, I could be your commiter 
> 
> 
> +*biosdisk-0_p20100611 (16 Sep 2012)
> +
> +  16 Sep 2012; Pacho Ramos <pacho@gentoo.org> +biosdisk-0_p20100611.ebuild,
> +  -biosdisk-0.65.ebuild, -biosdisk-0.75.2.ebuild:
> +  Bump to make it work again, drop old broken versions, bug #431172 by
> Matthew
> +  Schultz.
> +

Sure, I'll be the proxy maintainer for this package.