Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560280 - refind-0.9.0 install.sh needs the refind.conf-sample within refind dir
Summary: refind-0.9.0 install.sh needs the refind.conf-sample within refind dir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-12 14:10 UTC by Tetja Rediske
Modified: 2015-09-16 03:22 UTC (History)
1 user (show)

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


Attachments
diff to ebuild (refind.ebuild.patch,339 bytes, patch)
2015-09-12 14:10 UTC, Tetja Rediske
Details | Diff
Patch for install.sh (010-install-sh_search-docs-for-config.patch,603 bytes, text/plain)
2015-09-15 11:12 UTC, Sam Jorna (wraeth)
Details
Patch for ebuild (refind-0.9.0.ebuild.patch,872 bytes, patch)
2015-09-15 11:13 UTC, Sam Jorna (wraeth)
Details | Diff
Ebuild patch (refind-0.9.0.ebuild.patch,1.58 KB, patch)
2015-09-15 23:39 UTC, Sam Jorna (wraeth)
Details | Diff
Fixed ebuild patch (refind-0.9.0.ebuild.patch,1.58 KB, patch)
2015-09-16 01:13 UTC, Sam Jorna (wraeth)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tetja Rediske 2015-09-12 14:10:20 UTC
Created attachment 411718 [details, diff]
diff to ebuild

If you run install.sh it checks if refind.conf-sample is in one of two paths.

Solution is to install it, where it is needed.

I didn't remove it from DOCS, so it exist technically two times.
Comment 1 Sam Jorna (wraeth) gentoo-dev 2015-09-15 11:12:03 UTC
Created attachment 411952 [details]
Patch for install.sh

Trying to avoid installing the one file in two locations. Here is a patch for install.sh that will look in an additional location. Also needs a patch (to follow) for the ebuild to set the location (for versioning).
Comment 2 Sam Jorna (wraeth) gentoo-dev 2015-09-15 11:13:27 UTC
Created attachment 411954 [details, diff]
Patch for ebuild

Adds epatch call to patch install.sh then calls sed to set the location since it's version specific - allows for the ebuild to be version-bumped without having to change the patch for install.sh. Also adds epatch_user.
Comment 3 Tetja Rediske 2015-09-15 12:49:59 UTC
Then refind-conf.sample needs to be kept uncompress, currently it will get compressed as bz2 or the install.sh needs to be patched to uncompress it.
Comment 4 Sam Jorna (wraeth) gentoo-dev 2015-09-15 23:39:14 UTC
Created attachment 412006 [details, diff]
Ebuild patch

New patch to ebuild that seds install.sh directly and doesn't use a patch. Also installs refind.conf-sample without compression.
Comment 5 Sam Jorna (wraeth) gentoo-dev 2015-09-16 01:13:53 UTC
Created attachment 412008 [details, diff]
Fixed ebuild patch

Fix incorrect path and bug description.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2015-09-16 03:22:44 UTC
commit 7cd8ceff39f8923096acd087e4e727f5e0c93e0a
Author: Ian Delaney <idella4@gentoo.org>
Date:   Wed Sep 16 09:50:39 2015 +0800

    revbump; patch to ebuild from bug #560280, rm inital ebuild