[qubes-users] Re: Whats the deal with kernels?

2018-04-05 Thread sevas
I did do that. The problem was that 'misconfigured' file: .rpmmacros. 

Apparently you have to edit (or make) the file and add _gpg_dir, _gpg_name and 
_signature parameters. This is only half true. 

The file that needs to be modified (and possibly bind-dir this file) is not 
located in ~/.rpmmacros as suggested. 

The file is located here: /usr/bin/rpm/macros 
and you do not need to edit anything except the _gpg_name parameter or it 
breaks. 


Does anyone know what the different kernel rpms are for? 
kernel.rpm
kernel-devel.rpm
kernel-qubes.rpm

I guess I would install the kernel-qubes.rpm. I would also guess that 
kernel.rpm 
is without qubes things that I probably want. And devel is with lots of 
debugging 
that I probably dont need?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b19ae814-592f-4833-844d-606ad15d5149%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Whats the deal with kernels?

2018-04-04 Thread Foppe de Haan
On Wednesday, April 4, 2018 at 3:21:38 AM UTC+2, sevas wrote:
> Yes, thank you. I have read that entire page, as well as a few other good 
> resources:
> 
> github.com/rtiangha/qubes-linux-kernel/blob/devel-4.14-hard/README.md
> github.com/0spinboson/qubes-doc/blob/patch-1/managing-os/compiling-your-own-kernel.md
> 
> 
> Im running into a problem right at the end.
> 
> rpm --add-sign /home/user/*.rpm 
> You must set "%_gpg_name" in your macro file
> 
> I have made the missing file: ~/.rpmmarco
> %_signature gpg
> %_gpg_path /home/user/.gnupg
> %_gpg_name (b4892c28 / mypgp)
> 
> I still get the error. Can I ignore this? 
> Qubes-Builder docs suggests editing the builder.conf and changing NO_SIGN=1
> but that doesnt exactly apply to kernels, does it?
> 
> I dont need to sign my packages, do I? Im not sure if the compiler is failing 
> at
> the rpm signing or if its ignoring and finished.

yes, you can ignore this, though you can also just follow a gpg guide to create 
a signature for your own use. Not necessary, but why not? :)

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/093dd8ad-674d-45fd-b499-d252c93d784b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Whats the deal with kernels?

2018-04-04 Thread cooloutac
On Tuesday, April 3, 2018 at 9:21:38 PM UTC-4, sevas wrote:
> Yes, thank you. I have read that entire page, as well as a few other good 
> resources:
> 
> github.com/rtiangha/qubes-linux-kernel/blob/devel-4.14-hard/README.md
> github.com/0spinboson/qubes-doc/blob/patch-1/managing-os/compiling-your-own-kernel.md
> 
> 
> Im running into a problem right at the end.
> 
> rpm --add-sign /home/user/*.rpm 
> You must set "%_gpg_name" in your macro file
> 
> I have made the missing file: ~/.rpmmarco
> %_signature gpg
> %_gpg_path /home/user/.gnupg
> %_gpg_name (b4892c28 / mypgp)
> 
> I still get the error. Can I ignore this? 
> Qubes-Builder docs suggests editing the builder.conf and changing NO_SIGN=1
> but that doesnt exactly apply to kernels, does it?
> 
> I dont need to sign my packages, do I? Im not sure if the compiler is failing 
> at
> the rpm signing or if its ignoring and finished.

I would ask in that other thread and maybe Reg will respond.  I have no 
experience compiling kernels for Qubes.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6813173e-c551-4d9a-8df6-8e2b252439c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Whats the deal with kernels?

2018-04-03 Thread sevas
Yes, thank you. I have read that entire page, as well as a few other good 
resources:

github.com/rtiangha/qubes-linux-kernel/blob/devel-4.14-hard/README.md
github.com/0spinboson/qubes-doc/blob/patch-1/managing-os/compiling-your-own-kernel.md


Im running into a problem right at the end.

rpm --add-sign /home/user/*.rpm 
You must set "%_gpg_name" in your macro file

I have made the missing file: ~/.rpmmarco
%_signature gpg
%_gpg_path /home/user/.gnupg
%_gpg_name (b4892c28 / mypgp)

I still get the error. Can I ignore this? 
Qubes-Builder docs suggests editing the builder.conf and changing NO_SIGN=1
but that doesnt exactly apply to kernels, does it?

I dont need to sign my packages, do I? Im not sure if the compiler is failing at
the rpm signing or if its ignoring and finished. 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/78ad93c4-42f4-481a-860e-3baa5cafeae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Whats the deal with kernels?

2018-04-03 Thread cooloutac
On Monday, April 2, 2018 at 10:42:14 PM UTC-4, sevas wrote:
> Ive been looking at kernel compiling. Ive amounted certain information,
> but not enough.
> 
> I see 3 git repos with kernels: qubes-linux-kernel, rtiangha and fepitre.
> 
> I know I can change versions with $ git checkout *version*
> 
> I also know that I can download the sources and build them and I would 
> preferably
> edit a .config file to edit my options and hardware.
> 
> What I need to know:
> -how to use the gen-config file.
> -whats the difference between the config-base, config-qubes and 
> config-qubes-minimal? (well the minimal part is obvious)
> -I can edit one of these config files to build with my kernel, correct?
> -I have built a .config using the '$ make oldconfig' command and it was a
> nightmare. The most effective way to configure a .config is to use '$ make 
> menuconfig' correct? A good balance between my time and control?
> -Is there a convenient way to merge an existing .config with the qubes 
> .config?
> 
> Any other tips?
> Is there a qubes doc on this?

https://groups.google.com/forum/#!topic/qubes-users/yBeUJPwKwHM

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b72b1d86-afeb-4972-8eaa-59c3b2f77bc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Whats the deal with kernels?

2018-04-03 Thread cooloutac
On Monday, April 2, 2018 at 10:42:14 PM UTC-4, sevas wrote:
> Ive been looking at kernel compiling. Ive amounted certain information,
> but not enough.
> 
> I see 3 git repos with kernels: qubes-linux-kernel, rtiangha and fepitre.
> 
> I know I can change versions with $ git checkout *version*
> 
> I also know that I can download the sources and build them and I would 
> preferably
> edit a .config file to edit my options and hardware.
> 
> What I need to know:
> -how to use the gen-config file.
> -whats the difference between the config-base, config-qubes and 
> config-qubes-minimal? (well the minimal part is obvious)
> -I can edit one of these config files to build with my kernel, correct?
> -I have built a .config using the '$ make oldconfig' command and it was a
> nightmare. The most effective way to configure a .config is to use '$ make 
> menuconfig' correct? A good balance between my time and control?
> -Is there a convenient way to merge an existing .config with the qubes 
> .config?
> 
> Any other tips?
> Is there a qubes doc on this?

Search the mailing list for Reg Tiangha I forget how to spell the last name,  
or building qubes kernel till you see his thread.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0221589c-585b-4296-89ec-972da2c9ee21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.