Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322235 - kernel-2 eclass doesn't allow xz or lzma compression
Summary: kernel-2 eclass doesn't allow xz or lzma compression
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 13:46 UTC by Jens Pranaitis
Modified: 2010-06-05 18:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
add xz and lzma support to kernel-2.eclass (kernel-2-eclass-xz-lzma.patch,377 bytes, patch)
2010-05-31 13:47 UTC, Jens Pranaitis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Pranaitis 2010-05-31 13:46:25 UTC
It would be nice to have support for xz or lzma compressed patches in kernel-2.eclass, these formats are already supported by epatch (see eutils.eclass). I've attached a simple patch to fix xz/lzma support.

Reproducible: Always




Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.10.1-r1, 2.6.34-pentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-pentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 31 May 2010 12:15:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/media/wd_ext/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/pentoo /usr/local/portage/layman/sunrise /usr/local/portage/layman/jensp /usr/local/portage/layman/enlightenment"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi adns ads afs aim akonadi alsa amazon amd64 ao async authfile autoipd avahi bash-completion berkdb bluetooth bonjour bzip2 cairo caps ccache cdr cgi cleartype cli clucene connection-sharing consolekit cracklib crypt css cuda cups curl cxx dbus dell dhcpcd djvu dri dts dvd dvdr ebook emboss emovix encode exif fam fastcgi fbcon fbcondecor ffmpeg filter firefox firefox3 flac fontconfig gcdmaster gdbm geoip gif git gnutls gpm gps gstreamer gtk hal iceweasel iconv imagemagick injection ipv6 jabber jpeg kde kipi kvm lame laptop lastfm lcms ldap libnl libnotify lzma mad mdnsresponder-compat melt mikmod mjpeg mmx mng modules mozdevelop mp2 mp3 mp4 mpeg mudflap multilib musicbrainz ncurses network networkmanager nls nptl nptlonly nsplugin offensive ogg opencl opengl openmp openssl oscar otr pam pango pcre pdf perl php png policykit portaudio ppds pppd python qemu qt3support qt4 quicktime raster rdp readline reflection resolvconf restrict-javascript rss runtime-injection samba sasl schroedinger sdl semantic-desktop session socks5 speex spell spl sse sse2 sse3 sse4 ssh ssl ssse3 startup-notification subversion svg sysfs syslog taglib tcpd templates theora threads tiff truetype unicode usb v4l v4l2 vcd vde vdpau vim vim-syntax vnc vorbis wav wavpack webdav webkit wifi wma wma-fixed wps x264 xattr xcb xcomposite xine xinerama xml xorg xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jens Pranaitis 2010-05-31 13:47:23 UTC
Created attachment 233661 [details, diff]
add xz and lzma support to kernel-2.eclass