Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tux@slitaz:~$ tazpkg -gi linux-source
- You must be root to run tazpkg with this option.
- Please type 'su' and root password to become super-user.
- tux@slitaz:~$ su
- Password:
- root@slitaz:~# tazpkg -gi linux-source
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- linux-source-2.6.37. 100% |*******************************| 74604 --:--:-- ETA
- Tracking dependencies for : linux-source
- ================================================================================
- Missing: slitaz-toolchain
- Missing: ncurses-dev
- Missing: perl
- ================================================================================
- 3 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- slitaz-toolchain-4.0 100% |*******************************| 4668 --:--:-- ETA
- Tracking dependencies for : slitaz-toolchain
- ================================================================================
- Missing: binutils
- Missing: linux-api-headers
- Missing: glibc-dev
- Missing: gcc
- Missing: make
- Missing: elfkickers
- ================================================================================
- 6 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- binutils-2.21.tazpkg 100% |*******************************| 1084k 00:00:00 ETA
- Tracking dependencies for : binutils
- ================================================================================
- Missing: glibc
- ================================================================================
- 1 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- glibc-2.13.tazpkg 100% |*******************************| 5196 00:00:00 ETA
- Tracking dependencies for : glibc
- ================================================================================
- Missing: glibc-locale
- Missing: glibc-dev
- ================================================================================
- 2 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- glibc-locale-2.13.ta 100% |*******************************| 4202k 00:00:00 ETA
- Tracking dependencies for : glibc-locale
- ================================================================================
- Missing: glibc-extra-samba
- ================================================================================
- 1 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- glibc-extra-samba-2. 100% |*******************************| 46208 --:--:-- ETA
- Installation of : glibc-extra-samba
- ================================================================================
- Copying glibc-extra-samba... [ OK ]
- Extracting glibc-extra-samba... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing glibc-extra-samba... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- glibc-extra-samba (2.13) is installed.
- Installation of : glibc-locale
- ================================================================================
- Copying glibc-locale... [ OK ]
- Extracting glibc-locale... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing glibc-locale... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- glibc-locale (2.13) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- glibc-dev-2.13.tazpk 100% |*******************************| 1486k 00:00:00 ETA
- Installation of : glibc-dev
- ================================================================================
- Copying glibc-dev... [ OK ]
- Extracting glibc-dev... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing glibc-dev... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- glibc-dev (2.13) is installed.
- Installation of : glibc
- ================================================================================
- Copying glibc... [ OK ]
- Extracting glibc... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing glibc... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- glibc (2.13) is installed.
- Installation of : binutils
- ================================================================================
- Copying binutils... [ OK ]
- Extracting binutils... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing binutils... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- binutils (2.21) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- linux-api-headers-2. 100% |*******************************| 631k 00:00:00 ETA
- Installation of : linux-api-headers
- ================================================================================
- Copying linux-api-headers... [ OK ]
- Extracting linux-api-headers... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing linux-api-headers... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- linux-api-headers (2.6.37) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- gcc-4.5.2.tazpkg 100% |*******************************| 9182k 00:00:00 ETA
- Tracking dependencies for : gcc
- ================================================================================
- Missing: libgomp
- Missing: libobjc
- Missing: mpc-library
- Missing: elfutils
- ================================================================================
- 4 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- libgomp-4.5.2.tazpkg 100% |*******************************| 78652 --:--:-- ETA
- Installation of : libgomp
- ================================================================================
- Copying libgomp... [ OK ]
- Extracting libgomp... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing libgomp... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- libgomp (4.5.2) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- libobjc-4.5.2.tazpkg 100% |*******************************| 91340 00:00:00 ETA
- Installation of : libobjc
- ================================================================================
- Copying libobjc... [ OK ]
- Extracting libobjc... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing libobjc... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- libobjc (4.5.2) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- mpc-library-0.8.2.ta 100% |*******************************| 45716 --:--:-- ETA
- Tracking dependencies for : mpc-library
- ================================================================================
- Missing: mpfr
- Missing: gmp
- ================================================================================
- 2 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- mpfr-3.0.1.tazpkg 100% |*******************************| 105k 00:00:00 ETA
- Tracking dependencies for : mpfr
- ================================================================================
- Missing: gmp
- ================================================================================
- 1 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- gmp-5.0.1.tazpkg 100% |*******************************| 137k 00:00:00 ETA
- Installation of : gmp
- ================================================================================
- Copying gmp... [ OK ]
- Extracting gmp... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing gmp... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- gmp (5.0.1) is installed.
- Installation of : mpfr
- ================================================================================
- Copying mpfr... [ OK ]
- Extracting mpfr... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing mpfr... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- mpfr (3.0.1) is installed.
- Installation of : mpc-library
- ================================================================================
- Copying mpc-library... [ OK ]
- Extracting mpc-library... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing mpc-library... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- mpc-library (0.8.2) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- elfutils-0.150.tazpk 100% |*******************************| 166k --:--:-- ETA
- Installation of : elfutils
- ================================================================================
- Copying elfutils... [ OK ]
- Extracting elfutils... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing elfutils... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- elfutils (0.150) is installed.
- Installation of : gcc
- ================================================================================
- Copying gcc... [ OK ]
- Extracting gcc... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing gcc... [ OK ]
- Removing all tmp files... [ OK ]
- Processing post-install commands...
- ================================================================================
- gcc (4.5.2) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- make-3.82.tazpkg 100% |*******************************| 70164 00:00:00 ETA
- Installation of : make
- ================================================================================
- Copying make... [ OK ]
- Extracting make... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing make... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- make (3.82) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- elfkickers-3.0.tazpk 100% |*******************************| 43664 --:--:-- ETA
- Installation of : elfkickers
- ================================================================================
- Copying elfkickers... [ OK ]
- Extracting elfkickers... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing elfkickers... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- elfkickers (3.0) is installed.
- Installation of : slitaz-toolchain
- ================================================================================
- Copying slitaz-toolchain... [ OK ]
- Extracting slitaz-toolchain... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing slitaz-toolchain... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- slitaz-toolchain (4.0) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- ncurses-dev-5.9.tazp 100% |*******************************| 137k 00:00:00 ETA
- Tracking dependencies for : ncurses-dev
- ================================================================================
- Missing: ncursesw-dev
- ================================================================================
- 1 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- ncursesw-dev-5.9.taz 100% |*******************************| 198k --:--:-- ETA
- Installation of : ncursesw-dev
- ================================================================================
- Copying ncursesw-dev... [ OK ]
- Extracting ncursesw-dev... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing ncursesw-dev... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- ncursesw-dev (5.9) is installed.
- Installation of : ncurses-dev
- ================================================================================
- Copying ncurses-dev... [ OK ]
- Extracting ncurses-dev... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing ncurses-dev... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- ncurses-dev (5.9) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- perl-5.12.3.tazpkg 100% |*******************************| 7714k 00:00:00 ETA
- Tracking dependencies for : perl
- ================================================================================
- Missing: libdb
- Missing: gdbm
- ================================================================================
- 2 missing package(s) to install.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- libdb-4.8.26.tazpkg 100% |*******************************| 396k 00:00:00 ETA
- Installation of : libdb
- ================================================================================
- Copying libdb... [ OK ]
- Extracting libdb... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing libdb... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- libdb (4.8.26) is installed.
- Connecting to mirror.slitaz.org (94.23.209.91:80)
- gdbm-1.10.tazpkg 100% |*******************************| 13612 --:--:-- ETA
- Installation of : gdbm
- ================================================================================
- Copying gdbm... [ OK ]
- Extracting gdbm... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing gdbm... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- gdbm (1.10) is installed.
- Installation of : perl
- ================================================================================
- Copying perl... [ OK ]
- Extracting perl... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Processing pre-install commands...
- Installing perl... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- perl (5.12.3) is installed.
- Installation of : linux-source
- ================================================================================
- Copying linux-source... [ OK ]
- Extracting linux-source... [ OK ]
- Extracting the pseudo fs... (lzma) [ OK ]
- Installing linux-source... [ OK ]
- Removing all tmp files... [ OK ]
- ================================================================================
- linux-source (2.6.37) is installed.
- root@slitaz:~# get-linux-source
- wget: bad address 'www.eu.kernel.org'
- Connecting to linux-kernel.uio.no (128.39.3.170:80)
- Connecting to linux-kernel.uio.no (128.39.3.170:80)
- linux-2.6.37.tar.bz2 100% |*******************************| 71853k 00:00:00 ETA
- tar: warning: skipping header 'g'
- patching file scripts/package/Makefile
- Apply linux-diff-2.6.37.u
- patching file arch/x86/vdso/Makefile
- patching file scripts/Makefile.lib
- Hunk 2 FAILED 238/239.
- quiet_cmd_lzma = LZMA $@
- cmd_lzma = (cat $(filter-out FORCE,$^) | \
- - lzma -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
- + lzma e -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
- (rm -f $@ ; false)
- quiet_cmd_lzo = LZO $@
- Apply linux-unlzma-2.6.37.u
- patching file init/initramfs.c
- patching file lib/decompress_unlzma.c
- Apply linux-header-2.6.37.u
- patching file arch/x86/boot/header.S
- Apply linux-freeinitrd-2.6.37.u
- patching file arch/x86/mm/init.c
- patching file init/initramfs.c
- Apply aufs2-base.patch
- patching file fs/namei.c
- patching file fs/splice.c
- patching file include/linux/namei.h
- patching file include/linux/splice.h
- Apply aufs2-standalone.patch
- patching file fs/file_table.c
- patching file fs/inode.c
- patching file fs/namei.c
- patching file fs/namespace.c
- patching file fs/notify/group.c
- patching file fs/notify/mark.c
- patching file fs/open.c
- patching file fs/splice.c
- patching file security/commoncap.c
- patching file security/device_cgroup.c
- patching file security/security.c
- Apply 001-squashfs-decompressors-add-xz-decompressor-module.patch
- creating Documentation/xz.txt
- creating include/linux/xz.h
- patching file lib/Kconfig
- patching file lib/Makefile
- creating lib/xz/Kconfig
- creating lib/xz/Makefile
- creating lib/xz/xz_crc32.c
- creating lib/xz/xz_dec_bcj.c
- creating lib/xz/xz_dec_lzma2.c
- creating lib/xz/xz_dec_stream.c
- creating lib/xz/xz_dec_syms.c
- creating lib/xz/xz_dec_test.c
- creating lib/xz/xz_lzma2.h
- creating lib/xz/xz_private.h
- creating lib/xz/xz_stream.h
- patching file scripts/Makefile.lib
- creating scripts/xz_wrap.sh
- Apply 002-squashfs-decompressors-add-boot-time-xz-support.patch
- creating include/linux/decompress/unxz.h
- patching file init/Kconfig
- patching file lib/Kconfig
- patching file lib/Makefile
- patching file lib/decompress.c
- creating lib/decompress_unxz.c
- patching file scripts/gen_initramfs_list.sh
- patching file usr/Kconfig
- patching file usr/Makefile
- Apply 003-squashfs-x86-support-xz-compressed-kernel.patch
- patching file Documentation/x86/boot.txt
- patching file arch/x86/Kconfig
- patching file arch/x86/boot/compressed/Makefile
- patching file arch/x86/boot/compressed/misc.c
- patching file arch/x86/boot/compressed/mkpiggy.c
- patching file arch/x86/include/asm/boot.h
- Apply 004-squashfs-add-xz-compression-support.patch
- patching file fs/squashfs/squashfs_fs.h
- creating fs/squashfs/xz_wrapper.c
- Apply 005-squashfs-add-xz-compression-configuration-option.patch
- patching file fs/squashfs/Kconfig
- patching file fs/squashfs/Makefile
- patching file fs/squashfs/decompressor.c
- patching file fs/squashfs/squashfs.h
- HOSTCC scripts/basic/fixdep
- HOSTCC scripts/basic/docproc
- HOSTCC scripts/kconfig/conf.o
- HOSTCC scripts/kconfig/kxgettext.o
- SHIPPED scripts/kconfig/zconf.tab.c
- SHIPPED scripts/kconfig/lex.zconf.c
- SHIPPED scripts/kconfig/zconf.hash.c
- HOSTCC scripts/kconfig/zconf.tab.o
- HOSTLD scripts/kconfig/conf
- scripts/kconfig/conf --oldconfig Kconfig
- #
- # configuration written to .config
- #
- scripts/kconfig/conf --silentoldconfig Kconfig
- CHK include/linux/version.h
- UPD include/linux/version.h
- CHK include/generated/utsrelease.h
- UPD include/generated/utsrelease.h
- CC kernel/bounds.s
- GEN include/generated/bounds.h
- CC arch/x86/kernel/asm-offsets.s
- GEN include/generated/asm-offsets.h
- CALL scripts/checksyscalls.sh
- CC scripts/mod/empty.o
- HOSTCC scripts/mod/mk_elfconfig
- MKELF scripts/mod/elfconfig.h
- HOSTCC scripts/mod/file2alias.o
- HOSTCC scripts/mod/modpost.o
- HOSTCC scripts/mod/sumversion.o
- HOSTLD scripts/mod/modpost
- HOSTCC scripts/kallsyms
- HOSTCC scripts/pnmtologo
- HOSTCC scripts/conmakehash
- HOSTCC scripts/bin2c
- ----
- To modify the kernel configuration:
- $ cd /usr/src/linux-2.6.37
- $ make menuconfig
- To build the kernel and the modules:
- $ cd /usr/src/linux-2.6.37
- $ make bzImage && make modules
- To install the new kernel and the modules:
- $ make modules_install
- $ cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.37-slitaz
- To make a Slitaz package with the new kernel and the modules:
- $ make tazpkg
- See /usr/src/linux-2.6.37/README
- ----
- root@slitaz:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement