GRUB 10_linux patch - what's the best way to share?

New to Arch but not Linux. So, trying this adventure called Arch and one of the things that annoyed me right away is how GRUB discovers the kernels when you have both 'linux' and 'linux-lts' installed (primary and backup per the wiki) without version numbers. I created a simple patch so that natural alpha sorting order is used and 'linux' becomes the default kernel (both with/without submenu enabled). This seems to me what the average user is probably looking for by default, not the 'linux-lts' kernel (the problem is in how the internal version comparison routines work in /usr/share/grub/grub-mkconfig_lib - they don't expect a list of kernels with *no* versions in the names).
Should I:
Post on the GRUB Discussion page
Post on the main GRUB wiki page as a new item
Post to the GNU GRUB bugtracker and hope
Not sure what's considered the right way to go about it in this community, guidance? Thx!
--- 10_linux.orig 2014-05-14 01:22:27.000000000 -0500
+++ 10_linux 2014-06-21 13:20:37.816869963 -0500
@@ -177,7 +177,16 @@
is_top_level=true
while [ "x$list" != "x" ] ; do
- linux=`version_find_latest $list`
+ # version_find_latest returns 'linux-lts' before 'linux' on the average
+ # Arch install of these two kernels, we'll first check if there are any
+ # numerics in the kernels, and if not just pop them off the stack in
+ # natural alpha sorting order.
+ if [ $(echo $list | grep -q '[0-9]') ]; then
+ linux=`version_find_latest $list`
+ else
+ artmp=($list)
+ linux=${artmp[0]}
+ fi
gettext_printf "Found linux image: %s\n" "$linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`

Great, thanks - done and done.
https://savannah.gnu.org/bugs/index.php?42597
https://wiki.archlinux.org/index.php/Ta … t_versions
My patch is pretty basic, there's probably a better way of going about this the GRUB coders will figure out.

Similar Messages

  • What is the best way to share a iTunes library between 5 users on the same computer?

    What is the best way to share a iTunes library between 5 users on the same computer?
    Currently I have a common itunes library in a shared folder that each user is linked to.  The problem is that when one user adds music to the shared file, it does not automaticaly appear to other users when they open their iTunes.  They have to go to the shared library and select the new music in order to make it visable in their iTunes.
    Would iTunes file shareing fix this problem?
    Thanks

    aapl.up wrote:
    Rick, are you saying that if you try to share a folder outside of home and use sharepoints, then the other mac wont prompt you to log in? Have you tried that? It is hard to believe that is the case
    I am sort of saying that. Have you tried it? I know it's hard to believe, but you really need to help us out by trying some steps that you don't believe.
    We can't see what your exact situation is. We sort of know what's worked for us out here. Just trying to help you get this going in less than 24 hours!
    Sharepoints manages the samba configuration file. It's free software that puts a pretty face on an otherwise cumbersome config file.
    Give it a shot.
    windows will not prompt for passwords, I have tried this with multiple computer at home for both vista and xp
    As I stated. You will not get prompted on windows, if you have set up sharing in an insecure fashion. You are not using a secured sharing situation.
    No argument with your statement.

  • HT3819 what is the best way to share music from my home computers with sonos?

    I have 2 iMacs and a Macbook Pro, all with different music in iTunes. What is the best way to share all the music with Sonos? Home sharing or Music sharing?

    http://www.networkworld.com/reviews/2009/080709-review-5-usb-turntables-convert. html
    http://vinyl-converter-turntable-review.toptenreviews.com/
    I've always been partial to Numark and Audio-Technica. Have several DJ friends and a client who runs a DJ business, and they use Audio-Technica stuff almost exclusively.
    You may be surprised at how easy it is...
    With the exception of cameras (webcams especially) Macs are pretty much "Plug &Play" with anything USB, and even though I've never used one, reviews say you just plug the turntable in and it reads as a drive.

  • What is the best way to share the High Res images ...

    What is the best way to share the High Res images on my Nokia Lumia 1020?  My Android friends really want to see the original ~12MB images taken with Nokia Pro Camera?
    -Paul
    Solved!
    Go to Solution.

    if you have the att device, then use your att locker.
    ANYONE can sign up for the att locker here:
    https://locker.att.net/app/#welcome
    even if you do not have ATT service, you should sign up NOW.
    There is an application that is pre-installed to allow for the 1020 to upload the full resolution files to the AT&T locker.
    AND, because they are launching the 1020, they are giving a free upgrade to the account to the 50GB box instead of the 5GB.
    they are doing this for a limited time only, I have created a couple of accounts.
    after you create your account, it will have to be verified. after you check your email and verify the box, log back in and you will see it is only a 5gb account.
    click on "my Account/upgrade" and choose the 50GB and you should see it say FREE under the cost.
    then you can upload the full res pictures and share them that way.
    otherwise, if you are within reach, try Bluetooth transfer.

  • What are the best ways to share photos from iPhoto?

    What are the best ways to share photos from iPhoto?

    If you use Adobe Photoshop, or even Adobe Photoshop Elements, stay as far away from iPhoto as possible.
    iPhoto does not play nice with Adobe software or with software from any other third party developer.
    iPhoto will hide your image files in a library paradigm where you have no access to them other than through iPhoto.

  • What's the best way to share photos?

    Now that MobileMe Gallery is gone, what's the best way to share photos over the internet?
    Is there some simple method where I can upload an entire album from iPhoto and then send a link to others so they can view them?
    I've tried both Flickr and Shutterfly and did not like either.

    buttermaker wrote:
    Thanks for the idea, but it still seems kinda kludgy.
    I find it best to focus on solutions.
    Why can't iPhoto just pull the images from a media browser or something over the network?
    I don't know. Part of the issue has to be that iPhoto is not a HD browser. Another part is what you mean by " ... just pull the images".
    Any tips on creating a locally hosted web gallery?
    My greatest single tip of all time: try it! The tools available to use for just a few hundred dollars are astoundingly powerful.
    Or... does anyone have any Automator magic they'd like to share?
    No need. Web galleries are built into Aperture 3. Put the images you want to be in the gallery in one Album (Smart or otherwise). Select all the images. Click "New→Web Page". Select a theme. Change some of the text. Make some other changes. Click "Export Web Pages ... ". Make some more decisions. Give the folder a name. Save it somewhere with access to those whom you wish to see it. Select "Tell me when done". Check your email (have a coffee). Click "Show in Finder". Open the folder. Double-click the file "index.html". Brilliant! Enjoy.
    The trick to sharing this is to make the folder available. The index file will always open the web site pages in a web browser.

  • What is the best way to share for large projection?

    I would like embed my movie as part of the Powerpoint to be shown on a Windows machine (my only option). What is the best way to share it so that it doesn't look grainy or pixelated?

    Fool proof? Does Mircosoft make Powerpoint?
    LOL... but seriously
    You could export it out to a Windows Media file.
    http://www.Flip4Mac.com

  • What is the best way to share an entire iPhoto '09 folder with both Mac and PC Users?

    What is the best way to share an entire photo folder with lots of photos from iPhoto '09 with both Mac and PC Users?
    I got over a 100 photos in just 1 of my photo folders.
    I really don't want to have to email these photos individually...
    There's gotta be an easier way to share an entire photo folder...

    Awesome, thx for clarifying it
    I found this related Apple article:
    ..."If you’re used to right-clicking on a Windows computer, you can use Control-click in a similar way on your Mac."...
    http://support.apple.com/kb/PH4537

  • What is the best way to share over 1000 pictures on Apple TV?

    What is the best way to share over 1000 pictures on Apple TV?

    Creating Shared Photo Streams:
    Shared Photo Streams are permanent iCloud albums for storing photos and videos that can sync across all your iCloud-enabled devices. This is different from your "My Photo stream" that's basically a running tally only holding photos for about a month or 1,000. Shared streams follow different rules...
    In your photos app in an iPhone or ipad, at the bottom you'll see a "shared" icon.  Choose it and then create a new shared stream, you don't have to actually share it with anyone when it prompts you for a contact just click "Create".  Then choose the photos you want in there.  If your Apple TV is linked to your iCloud account you will be able to see those shared streams.
    See here http://support.apple.com/kb/HT5902.
    Apple states:
    How many photos and videos can be stored in a shared stream?
    A shared stream can hold a maximum of 5000 photos and videos combined. When you reach your limit, you must delete some photos or videos before adding new ones.
    How long are iCloud Photo Sharing photos and videos stored in iCloud?
    The photos and videos you share (and the comments or Likes associated with those photos) remain in iCloud until you or the contributor delete them manually, or until you delete the shared stream completely.

  • HT5225 what is the best way to share photos now?

    Now that the gallery is shut down and kodak gallery is shut down, what is the best way to share photos?

    See iCloud for PC's for instructions on setting it up.

  • [Solved] What is the best way to share pacman cache ?

    I'm wondering what is the best way to share the pacman cache .
    I went with the obvious choice 'sshfs' . But the cache on the server is owned by root so I can't use it dynamically unless I enable root logins , right ?
    Is it safe to enable root logins and mount with the root user ?
    What is the best and safest way to share pacman cache dynamically ?
    Last edited by Nezmer (2008-12-07 01:13:20)

    Interesting. I use sshfs and yes use root login to do business. But I see it this way you want more security created a stronger password. You want more security than that disable passwords and use keys. But once you start NFS you are surely introducing some security issue just as if you enable root ssh login, so why is NFS better?
    Just asking out of interest, I claim to know nothing about security.

  • What is the best way to share a specific folder between macs????

    Hello, I would like to share a specific folder between macs, heres what I need to do:
    1) share one folder that resides in my home folder
    2) the other mac should be able to view it without any login information (no password etc)
    How? What is the best way?

    aapl.up wrote:
    Rick, are you saying that if you try to share a folder outside of home and use sharepoints, then the other mac wont prompt you to log in? Have you tried that? It is hard to believe that is the case
    I am sort of saying that. Have you tried it? I know it's hard to believe, but you really need to help us out by trying some steps that you don't believe.
    We can't see what your exact situation is. We sort of know what's worked for us out here. Just trying to help you get this going in less than 24 hours!
    Sharepoints manages the samba configuration file. It's free software that puts a pretty face on an otherwise cumbersome config file.
    Give it a shot.
    windows will not prompt for passwords, I have tried this with multiple computer at home for both vista and xp
    As I stated. You will not get prompted on windows, if you have set up sharing in an insecure fashion. You are not using a secured sharing situation.
    No argument with your statement.

  • What is the best way to share HD movies?

    I am thinking of moving from digital8 recording to HD (leaning toward HDD or SD instead of miniDV as the later seems to be getting obsolete). Now I can burn a DVD to give to low-tech family members. It does not sound like I will be able to burn HD DVD's, so what will be the best way to share home videos with family members?
    Also for archiving purposes, is it easy to hook up a "backup hard-drive" to store family movies for posterity?
    Message was edited by: verb356

    Personally, I use MobileMe and let my family watch the movies on line. It is easy to share this way. I share the movie in Large (960x540) or Medium to iTunes. Then I share to Mobile Me.
    For personal viewing, I use the Apple TV.
    You can also burn a data DVD of your finished movie, and let them copy the file to iTunes from their data DVD.
    You can upload the movie to other video sharing services such as YouTube or Vimeo.
    You can burn a blu-ray disk if you have Toast and a BluRay burner. You can burn a short movie to regular DVD media using Toast and a regular DVD burner that is playable on most BluRay Players.

  • What is the best way to share docs

    Seeing as an entire document package can have gigs of data, what might be the best way to share files between two computers running FCP? Would it work to put all media and files on a network drive and then edit the docs from there?
    thanks

    Hi -
    When you say "document package", do you mean "Project"?
    Thanks
    Message was edited by: Meg The Dog

  • What is the best way to share iphoto slideshows

    I use to send sample slideshows to clients using mobile me.  What is the best way to do this now that mobile me is gone?

    Look here for alternatives to MobileMe for sharing Photo Galleries:
    http://www.wilmut.webspace.virginmedia.com/notes/missing/inicloud4.html

Maybe you are looking for