bugGNU GRUB - Bugs: bug #39818, configure should not set a default...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39818: configure should not set a default program-prefix based on the target

Submitter:  Josh Triplett <joshtriplett>
Submitted:  Mon 19 Aug 2013 06:47:02 PM UTC
   
 
Category:  None Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  None
Planned Release:  None

Wed 25 Sep 2013 05:22:45 AM UTC, comment #5: 

i wonder if you could do something like:
save_program_prefix=${program_prefix}
program_prefix='disable-autotools'
... AC_CANONICAL_TARGET and such ...
program_prefix=${save_program_prefix}

Mike Frysinger <vapier>
Mon 23 Sep 2013 12:34:35 PM UTC, comment #4: 

Trouble is that this is behaviour of autotools. I'm not sure how to override it.

Vladimir Serbinenko <phcoder>
Group administrator
Thu 19 Sep 2013 03:22:04 PM UTC, comment #3: 

Removing --target definitely isn't an option; the intent of this bug was simply to avoid having a default prefix on programs.

Josh Triplett <joshtriplett>
Mon 19 Aug 2013 07:27:11 PM UTC, comment #2: 

--target controls which platform the modules/kernel are compiled for. So removing it isn't possible.

Vladimir Serbinenko <phcoder>
Group administrator
Mon 19 Aug 2013 07:18:54 PM UTC, comment #1: 

pretty sure the answer is to simply delete this line from configure.ac:
AC_CANONICAL_TARGET

that will also delete the --target option, but according to bug 39721, that's no longer relevant

Mike Frysinger <vapier>
Mon 19 Aug 2013 06:47:02 PM UTC, original submission:  

Per bug 39721 (https://savannah.gnu.org/bugs/?39721), the GRUB binaries installed to bin and sbin work for any target platform.  However, program-prefix defaults to the target platform, rather than an empty string.  Since the binaries built for the host will work for any target platform, I'd suggest changing the default program-prefix to the empty string.

Josh Triplett <joshtriplett>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by vapier (Posted a comment)
  • -email is unavailable- added by joshtriplett (Submitted the item)
  • -email is unavailable- added by joshtriplett
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-03 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2013-08-19 joshtriplett Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code