Re: [gentoo-dev] grub-2 configuration

2016-10-08 Thread M. J. Everitt
On 09/10/16 00:57, Ben Kohler wrote:
>
>
> On Sat, Oct 8, 2016 at 9:28 AM, Tom H  > wrote:
>
> On Tue, Oct 4, 2016 at 11:34 PM, William Hubbs
> > wrote:
> >
> > You don't have to use grub-mkconfig. You can write
> /boot/grub/grub.cfg
> > by hand if you want, and it appears that the syntax is documented in
> > the grub info pages.
>
> If you write "/boot/grub/grub.cfg" by hand and run grub-mkconfig by
> mistake, you'll wipe out your config. It's safer to write it to
> "/etc/grub.d/40_custom" and "chmod -x" the other files in
> "/etc/grub.d/".
>
> Well "grub2-mkconfig" by itself doesn't write anywhere unless you pass
> a -o parameter.  If you are "accidentally" running "grub2-mkconfig -o
> /boot/grub/grub.cfg" and it catches you by surprise that
> /boot/grub/grub.cfg is overwritten, you have bigger problems.
>
> Let's not make up problems where there are none.
>
> -Ben
+1


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] grub-2 configuration

2016-10-08 Thread Ben Kohler
On Sat, Oct 8, 2016 at 9:28 AM, Tom H  wrote:

> On Tue, Oct 4, 2016 at 11:34 PM, William Hubbs 
> wrote:
> >
> > You don't have to use grub-mkconfig. You can write /boot/grub/grub.cfg
> > by hand if you want, and it appears that the syntax is documented in
> > the grub info pages.
>
> If you write "/boot/grub/grub.cfg" by hand and run grub-mkconfig by
> mistake, you'll wipe out your config. It's safer to write it to
> "/etc/grub.d/40_custom" and "chmod -x" the other files in
> "/etc/grub.d/".
>
> Well "grub2-mkconfig" by itself doesn't write anywhere unless you pass a
-o parameter.  If you are "accidentally" running "grub2-mkconfig -o
/boot/grub/grub.cfg" and it catches you by surprise that
/boot/grub/grub.cfg is overwritten, you have bigger problems.

Let's not make up problems where there are none.

-Ben


[gentoo-dev] Re: grub-2 configuration

2016-10-08 Thread Duncan
Tom H posted on Sat, 08 Oct 2016 10:28:05 -0400 as excerpted:

> On Tue, Oct 4, 2016 at 11:34 PM, William Hubbs 
> wrote:
>>
>> You don't have to use grub-mkconfig. You can write /boot/grub/grub.cfg
>> by hand if you want, and it appears that the syntax is documented in
>> the grub info pages.
> 
> If you write "/boot/grub/grub.cfg" by hand and run grub-mkconfig by
> mistake, you'll wipe out your config. It's safer to write it to
> "/etc/grub.d/40_custom" and "chmod -x" the other files in
> "/etc/grub.d/".

Or simply install-mask grub-mkconfig, like I did, via package.env to 
avoid polluting INSTALL_MASK for everything. =:^)

In /etc/portage/package.env:

sys-boot/grub   pkg.env/installmask/grub

In /etc/portage/env/pkg.env/grub:

# don't use grub(2)-mkconfig at all

INSTALL_MASK="$INSTALL_MASK /etc/default /etc/grub.d grub2-mkconfig grub-
mkconfig"

PKG_INSTALL_MASK="$INSTALL_MASK"


Now that I'm thinking about it, it /would/ be kinda nice to have a USE 
flag that did that, tho.  Yeah, it's just a few arguably small files, but 
when the absence of those files means the absence of a potential fat-
fingering...

(Tho not mounting /boot by default helps reduce the fat-fingering 
chances, and having a backup /boot partition and grub installation on a 
second drive helps avoid both that being a huge problem, and grub-upgrade 
mishaps too...)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




[gentoo-dev] Last rites: media-gfx/drqueue

2016-10-08 Thread Sebastian Pipping
# Sebastian Pipping  (08 Oct 2016)
# Dead upstream for years, ebuild needs work, 5 open bugs
# Masked for removal in 30 days.
media-gfx/drqueue



Re: [gentoo-dev] Mirrors corrupts?

2016-10-08 Thread Joakim Tjernlund
On Sat, 2016-10-08 at 18:07 +0200, Jeroen Roovers wrote:
> On Sat, 8 Oct 2016 14:52:13 +
> Joakim Tjernlund  wrote:
> 
> > 
> > Tried several mirrors and I still get:
> 
> 
> https://bugs.gentoo.org/show_bug.cgi?id=596462

Thanks, I added myself to CC list


Re: [gentoo-dev] Mirrors corrupts?

2016-10-08 Thread Jeroen Roovers
On Sat, 8 Oct 2016 14:52:13 +
Joakim Tjernlund  wrote:

> Tried several mirrors and I still get:


https://bugs.gentoo.org/show_bug.cgi?id=596462



Re: [gentoo-dev] grub-2 configuration

2016-10-08 Thread Mike Gilbert
On Oct 8, 2016 10:33 AM, "Tom H"  wrote:
>
> On Wed, Oct 5, 2016 at 10:26 AM, Mike Gilbert  wrote:
> >
> > I have added an example grub.cfg to the gentoo repository.
> >
> >
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec629c23a6e8cf6c18fa51d69ae11932c7ada3cc
> >
> > Please feel free to commit any obvious improvements or corrections. If
> > you have a common scenario you would like to see added, feel free to
> > ping me about it.
>
> Shouldn't "timeout=5", "default=0", "gfxmode=auto", and
> "gfxpayload=keep" be prefixed with "set "?
>

Using the set keyword for variable assignments is optional.


[gentoo-dev] Mirrors corrupts?

2016-10-08 Thread Joakim Tjernlund
Tried several mirrors and I still get:

gentoo-jocke gentoo64 # emerge -avNDuv world
[ebuild U ] x11-libs/libX11-1.6.4 [1.6.3] USE="ipv6 -doc -static-libs 
{-test}" ABI_X86="32 (64) (-x32)" 
[ebuild U ] x11-libs/libXfixes-5.0.3 [5.0.2] USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 
[ebuild U ] x11-libs/libXrender-0.9.10 [0.9.9] USE="-static-libs" 
ABI_X86="32 (64) (-x32)" 
[ebuild U ] x11-libs/libXi-1.7.7 [1.7.6] USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 
[ebuild U ] x11-libs/libXrandr-1.5.1 [1.5.0] USE="-static-libs" 
ABI_X86="(64) -32 (-x32)" 
[ebuild U ] x11-libs/libXv-1.0.11 [1.0.10] USE="-static-libs" ABI_X86="(64) 
-32 (-x32)" 
[ebuild U ] x11-libs/libXtst-1.2.3 [1.2.2] USE="-doc -static-libs" 
ABI_X86="(64) -32 (-x32)" 
[ebuild U ] sys-apps/man-pages-4.07 [4.06] USE="nls" L10N="-da -de -fr -it 
-ja -nl -pl -ro -ru -zh-CN" 
[ebuild U ] net-wireless/wpa_supplicant-2.6 [2.5-r2] USE="dbus gnutls hs2-0 
qt4 readline ssl -ap -eap-sim
-fasteap (-libressl) -p2p (-ps3) -qt5 (-selinux) -smartcard -tdls 
-uncommon-eap-types (-wimax) -wps" 

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/portage/x11-libs/libX11/libX11-1.6.4.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 1619
!!! Expected: 1620

!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXfixes/libXfixes-5.0.3.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 709
!!! Expected: 710

!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXrender/libXrender-0.9.10.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 649
!!! Expected: 650

!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXi/libXi-1.7.7.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 973
!!! Expected: 974

!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXrandr/libXrandr-1.5.1.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 798
!!! Expected: 799

!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXv/libXv-1.0.11.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 669
!!! Expected: 670

!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXtst/libXtst-1.2.3.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 831
!!! Expected: 832

!!! Digest verification failed:
!!! /usr/portage/net-wireless/wpa_supplicant/wpa_supplicant-2.6.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 10295
!!! Expected: 10296
>>> Emerging (1 of 9) x11-libs/libX11-1.6.4::gentoo
>>> Jobs: 0 of 9 complete, 1 runningLoad avg: 0.77, 0.36, 0.22
!!! Digest verification failed:
!!! /usr/portage/x11-libs/libX11/libX11-1.6.4.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 1619
!!! Expected: 1620
>>> Failed to emerge x11-libs/libX11-1.6.4
>>> Jobs: 0 of 9 complete, 1 failed Load avg: 0.77, 0.36, 0.22
*** Resuming merge...
>>> Emerging (1 of 8) x11-libs/libXfixes-5.0.3::gentoo
>>> Jobs: 0 of 8 complete, 1 runningLoad avg: 0.73, 0.37, 0.22
!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXfixes/libXfixes-5.0.3.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 709
!!! Expected: 710
>>> Failed to emerge x11-libs/libXfixes-5.0.3
>>> Jobs: 0 of 8 complete, 1 failed Load avg: 0.73, 0.37, 0.22
*** Resuming merge...
>>> Emerging (1 of 7) x11-libs/libXrender-0.9.10::gentoo
>>> Jobs: 0 of 7 complete, 1 runningLoad avg: 0.78, 0.39, 0.23
!!! Digest verification failed:
!!! /usr/portage/x11-libs/libXrender/libXrender-0.9.10.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 649
!!! Expected: 650
>>> Failed to emerge x11-libs/libXrender-0.9.10



Re: [gentoo-dev] grub-2 configuration

2016-10-08 Thread Tom H
On Wed, Oct 5, 2016 at 10:26 AM, Mike Gilbert  wrote:
>
> I have added an example grub.cfg to the gentoo repository.
>
> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec629c23a6e8cf6c18fa51d69ae11932c7ada3cc
>
> Please feel free to commit any obvious improvements or corrections. If
> you have a common scenario you would like to see added, feel free to
> ping me about it.

Shouldn't "timeout=5", "default=0", "gfxmode=auto", and
"gfxpayload=keep" be prefixed with "set "?



Re: [gentoo-dev] grub-2 configuration

2016-10-08 Thread Tom H
On Tue, Oct 4, 2016 at 11:34 PM, William Hubbs  wrote:
>
> You don't have to use grub-mkconfig. You can write /boot/grub/grub.cfg
> by hand if you want, and it appears that the syntax is documented in
> the grub info pages.

If you write "/boot/grub/grub.cfg" by hand and run grub-mkconfig by
mistake, you'll wipe out your config. It's safer to write it to
"/etc/grub.d/40_custom" and "chmod -x" the other files in
"/etc/grub.d/".



Re: [gentoo-dev] RFC: Dead project cleanup - Merging Presentation with Public Relations

2016-10-08 Thread Robin H. Johnson
On Fri, Oct 07, 2016 at 04:56:11PM -0700, Matthew Marchese wrote:
> Thought I'd send a RFC out to you all to get a little feedback before I
> make any changes to this since I didn't originally start the project. If
> no one responds with a good reason why NOT to make the changes I
> purpose, I will proceed in a somewhat timely manner.
I think the prior presentation staff/developers have all retired.
You will get no objections, so go ahead and merge it.

> I already have a repo for PR setup at projects.g.o. I will make a
> presentations/ directory for storing the PDF files that Robin was
> recently looking for...I'll have to dig them out of the Wayback Machine,
> but that shouldn't take me too long.
Do it!

We should also track down and add lots more known talks (even if we
don't have slides for them).
- All of Gentoo FOSDEM tracks & talks
- Both Gentoo Miniconfs (I think there have been only 2, at least that I
  attended)
- There was an original gentoo conference many years, and at one point
  there was a Realaudio video track for it, but I don't have many
  details of it.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Trustee & Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136



Re: [gentoo-dev] RFC: Dead project cleanup - Merging Presentation with Public Relations

2016-10-08 Thread David Abbott
On Fri, Oct 7, 2016 at 7:56 PM, Matthew Marchese  wrote:
> Hi all,
>
> Thought I'd send a RFC out to you all to get a little feedback before I
> make any changes to this since I didn't originally start the project. If
> no one responds with a good reason why NOT to make the changes I
> purpose, I will proceed in a somewhat timely manner.
>
> It's been over a year since I manually moved the Presentation Project
> from wwwold to the wiki. No one who was previously involved in the
> project has presumed membership (or leadership) with the project.
> There's only been one meaningful edit by Rich0 to one of the project's
> two subpages. He kindly added links to a Gentoo presentation he recently
> gave.
>
> I currently see no reason why we need a separate project for
> Presentations. Maybe once when Gentoo PR was busier and we had more
> people giving talks it was necessary. If we're just looking for a place
> to host links or files I think merging this project with Public
> Relations will work nicely. I propose hosting the content of this
> project under the Public Relations project, since it has members who are
> actually overseeing it as Project specification (GLEP:39) demands.
>
> Empty projects should be removed. They are dead. It's not me who says
> it, it's GLEP 39. Be mad at it, not me. :P
>
> I already have a repo for PR setup at projects.g.o. I will make a
> presentations/ directory for storing the PDF files that Robin was
> recently looking for...I'll have to dig them out of the Wayback Machine,
> but that shouldn't take me too long.
>
> Your wiki warrior,
>
> Maffblaster
>
> https://wiki.gentoo.org/wiki/Project:Presentation
>
>
>

Hi Matthew,
Thanks for cleaning this stuff up :)
David

-- 
David Abbott (dabbott)
Gentoo Foundation Secretary
http://dev.gentoo.org/~dabbott/