[opensuse-kernel] osc build spec - with a new config question?
All, I'm trying to patch in a new module for my testing. osc build is failing both on OBS and locally because the config question is unexpected How do I pre-answer that question? === log of failure The Extended 4 (ext4) filesystem (EXT4_FS) [M/n/y/?] m Ext4 extended attributes (EXT4_FS_XATTR) [Y/n/?] y Ext4 POSIX Access Control Lists (EXT4_FS_POSIX_ACL) [Y/n/?] y Ext4 Security Labels (EXT4_FS_SECURITY) [Y/n/?] y EXT4 debugging support (EXT4_DEBUG) [N/y/?] n EXT4 snapshots (Experimental) (EXT4_FS_SNAPSHOT) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** [sub-make] Error 2 make: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-2.6.38.5/linux-2.6.38' error: Bad exit status from /var/tmp/rpm-tmp.qOSXbc (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qOSXbc (%prep) The buildroot was: /var/tmp/build-root ======== Greg -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Thu, May 12, 2011 at 06:13:58PM -0400, Greg Freemyer wrote:
All,
I'm trying to patch in a new module for my testing.
osc build is failing both on OBS and locally because the config question is unexpected
How do I pre-answer that question?
Add it to the config files in your rpm package. we have scripts to help you out with this, but again, you need to work off of the kernel git tree to use them... {hint, hint, hint} greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/12/2011 06:13 PM, Greg Freemyer wrote:
All,
I'm trying to patch in a new module for my testing.
Out of curiosity, if it's a module, can't you just create a KMP? - -Jeff
osc build is failing both on OBS and locally because the config question is unexpected
How do I pre-answer that question?
=== log of failure The Extended 4 (ext4) filesystem (EXT4_FS) [M/n/y/?] m Ext4 extended attributes (EXT4_FS_XATTR) [Y/n/?] y Ext4 POSIX Access Control Lists (EXT4_FS_POSIX_ACL) [Y/n/?] y Ext4 Security Labels (EXT4_FS_SECURITY) [Y/n/?] y EXT4 debugging support (EXT4_DEBUG) [N/y/?] n EXT4 snapshots (Experimental) (EXT4_FS_SNAPSHOT) [N/y/?] (NEW) aborted!
Console input/output is redirected. Run 'make oldconfig' to update configuration.
make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** [sub-make] Error 2 make: Leaving directory `/usr/src/packages/BUILD/kernel-desktop-2.6.38.5/linux-2.6.38' error: Bad exit status from /var/tmp/rpm-tmp.qOSXbc (%prep)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qOSXbc (%prep)
The buildroot was: /var/tmp/build-root ========
Greg
- -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk3NNCsACgkQLPWxlyuTD7IlewCgpZf3WwJ8mRbTerROALvj+T4V taUAn1bHcYaw1XisbLujlLICOi5gH771 =V0in -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Fri, May 13, 2011 at 9:37 AM, Jeff Mahoney <jeffm@suse.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 05/12/2011 06:13 PM, Greg Freemyer wrote:
All,
I'm trying to patch in a new module for my testing.
Out of curiosity, if it's a module, can't you just create a KMP?
- -Jeff
I'm trying to package up the ext4 snapshot extension. A couple of the GSoC slots relate to snapshots and I'd like them to have ext4 snapshots to work with. My understanding is that for 2.6.38 the patch is still a little intrusive on the core ext4 driver and can't be fully a KMP., or if it is a KMP it requires some extra userspace tool patches to work right. My current assumption / working theory is that compiling a custom kernel as a package is easier then fixing the userspace issues. When 2.6.39 comes out, it is supposed to have the core patches in mainline, and the snapshot function can be a KMP per the design. That is with a 2.6.39 kernel + ext4 snapshot KMP, minimal userspace patches are needed to make it work. A 2.6.39 ext4-snapshot patch doesn't yet exist per my understanding. They are waiting to create it until after .39 is released. Then in 2.6.40, the ext4-snapshot team is hoping their code is in mainline. A lot of the patches have been sent to Ted Tso (ext4 maintainer) for review, but I haven't seen any major feedback, so I don't know how realistic that is. 2.6.41 may be a more realistic scenario for vanilla kernel inclusion. Greg -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (3)
-
Greg Freemyer
-
Greg KH
-
Jeff Mahoney