Advertisement
Guest User

tazpkg -gi linux-source

a guest
Feb 14th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.71 KB | None | 0 0
  1. tux@slitaz:~$ tazpkg -gi linux-source
  2.  
  3. You must be root to run tazpkg with this option.
  4. Please type 'su' and root password to become super-user.
  5.  
  6. tux@slitaz:~$ su
  7. Password:
  8. root@slitaz:~# tazpkg -gi linux-source
  9.  
  10. Connecting to mirror.slitaz.org (94.23.209.91:80)
  11. linux-source-2.6.37. 100% |*******************************| 74604 --:--:-- ETA
  12. Tracking dependencies for : linux-source
  13. ================================================================================
  14. Missing: slitaz-toolchain
  15. Missing: ncurses-dev
  16. Missing: perl
  17. ================================================================================
  18. 3 missing package(s) to install.
  19.  
  20. Connecting to mirror.slitaz.org (94.23.209.91:80)
  21. slitaz-toolchain-4.0 100% |*******************************| 4668 --:--:-- ETA
  22. Tracking dependencies for : slitaz-toolchain
  23. ================================================================================
  24. Missing: binutils
  25. Missing: linux-api-headers
  26. Missing: glibc-dev
  27. Missing: gcc
  28. Missing: make
  29. Missing: elfkickers
  30. ================================================================================
  31. 6 missing package(s) to install.
  32.  
  33. Connecting to mirror.slitaz.org (94.23.209.91:80)
  34. binutils-2.21.tazpkg 100% |*******************************| 1084k 00:00:00 ETA
  35. Tracking dependencies for : binutils
  36. ================================================================================
  37. Missing: glibc
  38. ================================================================================
  39. 1 missing package(s) to install.
  40.  
  41. Connecting to mirror.slitaz.org (94.23.209.91:80)
  42. glibc-2.13.tazpkg 100% |*******************************| 5196 00:00:00 ETA
  43. Tracking dependencies for : glibc
  44. ================================================================================
  45. Missing: glibc-locale
  46. Missing: glibc-dev
  47. ================================================================================
  48. 2 missing package(s) to install.
  49.  
  50. Connecting to mirror.slitaz.org (94.23.209.91:80)
  51. glibc-locale-2.13.ta 100% |*******************************| 4202k 00:00:00 ETA
  52. Tracking dependencies for : glibc-locale
  53. ================================================================================
  54. Missing: glibc-extra-samba
  55. ================================================================================
  56. 1 missing package(s) to install.
  57.  
  58. Connecting to mirror.slitaz.org (94.23.209.91:80)
  59. glibc-extra-samba-2. 100% |*******************************| 46208 --:--:-- ETA
  60.  
  61. Installation of : glibc-extra-samba
  62. ================================================================================
  63. Copying glibc-extra-samba... [ OK ]
  64. Extracting glibc-extra-samba... [ OK ]
  65. Extracting the pseudo fs... (lzma) [ OK ]
  66. Installing glibc-extra-samba... [ OK ]
  67. Removing all tmp files... [ OK ]
  68. ================================================================================
  69. glibc-extra-samba (2.13) is installed.
  70.  
  71.  
  72. Installation of : glibc-locale
  73. ================================================================================
  74. Copying glibc-locale... [ OK ]
  75. Extracting glibc-locale... [ OK ]
  76. Extracting the pseudo fs... (lzma) [ OK ]
  77. Installing glibc-locale... [ OK ]
  78. Removing all tmp files... [ OK ]
  79. ================================================================================
  80. glibc-locale (2.13) is installed.
  81.  
  82.  
  83. Connecting to mirror.slitaz.org (94.23.209.91:80)
  84. glibc-dev-2.13.tazpk 100% |*******************************| 1486k 00:00:00 ETA
  85.  
  86. Installation of : glibc-dev
  87. ================================================================================
  88. Copying glibc-dev... [ OK ]
  89. Extracting glibc-dev... [ OK ]
  90. Extracting the pseudo fs... (lzma) [ OK ]
  91. Installing glibc-dev... [ OK ]
  92. Removing all tmp files... [ OK ]
  93. ================================================================================
  94. glibc-dev (2.13) is installed.
  95.  
  96.  
  97. Installation of : glibc
  98. ================================================================================
  99. Copying glibc... [ OK ]
  100. Extracting glibc... [ OK ]
  101. Extracting the pseudo fs... (lzma) [ OK ]
  102. Installing glibc... [ OK ]
  103. Removing all tmp files... [ OK ]
  104. ================================================================================
  105. glibc (2.13) is installed.
  106.  
  107.  
  108. Installation of : binutils
  109. ================================================================================
  110. Copying binutils... [ OK ]
  111. Extracting binutils... [ OK ]
  112. Extracting the pseudo fs... (lzma) [ OK ]
  113. Installing binutils... [ OK ]
  114. Removing all tmp files... [ OK ]
  115. ================================================================================
  116. binutils (2.21) is installed.
  117.  
  118.  
  119. Connecting to mirror.slitaz.org (94.23.209.91:80)
  120. linux-api-headers-2. 100% |*******************************| 631k 00:00:00 ETA
  121.  
  122. Installation of : linux-api-headers
  123. ================================================================================
  124. Copying linux-api-headers... [ OK ]
  125. Extracting linux-api-headers... [ OK ]
  126. Extracting the pseudo fs... (lzma) [ OK ]
  127. Installing linux-api-headers... [ OK ]
  128. Removing all tmp files... [ OK ]
  129. ================================================================================
  130. linux-api-headers (2.6.37) is installed.
  131.  
  132.  
  133. Connecting to mirror.slitaz.org (94.23.209.91:80)
  134. gcc-4.5.2.tazpkg 100% |*******************************| 9182k 00:00:00 ETA
  135. Tracking dependencies for : gcc
  136. ================================================================================
  137. Missing: libgomp
  138. Missing: libobjc
  139. Missing: mpc-library
  140. Missing: elfutils
  141. ================================================================================
  142. 4 missing package(s) to install.
  143.  
  144. Connecting to mirror.slitaz.org (94.23.209.91:80)
  145. libgomp-4.5.2.tazpkg 100% |*******************************| 78652 --:--:-- ETA
  146.  
  147. Installation of : libgomp
  148. ================================================================================
  149. Copying libgomp... [ OK ]
  150. Extracting libgomp... [ OK ]
  151. Extracting the pseudo fs... (lzma) [ OK ]
  152. Installing libgomp... [ OK ]
  153. Removing all tmp files... [ OK ]
  154. ================================================================================
  155. libgomp (4.5.2) is installed.
  156.  
  157.  
  158. Connecting to mirror.slitaz.org (94.23.209.91:80)
  159. libobjc-4.5.2.tazpkg 100% |*******************************| 91340 00:00:00 ETA
  160.  
  161. Installation of : libobjc
  162. ================================================================================
  163. Copying libobjc... [ OK ]
  164. Extracting libobjc... [ OK ]
  165. Extracting the pseudo fs... (lzma) [ OK ]
  166. Installing libobjc... [ OK ]
  167. Removing all tmp files... [ OK ]
  168. ================================================================================
  169. libobjc (4.5.2) is installed.
  170.  
  171.  
  172. Connecting to mirror.slitaz.org (94.23.209.91:80)
  173. mpc-library-0.8.2.ta 100% |*******************************| 45716 --:--:-- ETA
  174. Tracking dependencies for : mpc-library
  175. ================================================================================
  176. Missing: mpfr
  177. Missing: gmp
  178. ================================================================================
  179. 2 missing package(s) to install.
  180.  
  181. Connecting to mirror.slitaz.org (94.23.209.91:80)
  182. mpfr-3.0.1.tazpkg 100% |*******************************| 105k 00:00:00 ETA
  183. Tracking dependencies for : mpfr
  184. ================================================================================
  185. Missing: gmp
  186. ================================================================================
  187. 1 missing package(s) to install.
  188.  
  189. Connecting to mirror.slitaz.org (94.23.209.91:80)
  190. gmp-5.0.1.tazpkg 100% |*******************************| 137k 00:00:00 ETA
  191.  
  192. Installation of : gmp
  193. ================================================================================
  194. Copying gmp... [ OK ]
  195. Extracting gmp... [ OK ]
  196. Extracting the pseudo fs... (lzma) [ OK ]
  197. Installing gmp... [ OK ]
  198. Removing all tmp files... [ OK ]
  199. ================================================================================
  200. gmp (5.0.1) is installed.
  201.  
  202.  
  203. Installation of : mpfr
  204. ================================================================================
  205. Copying mpfr... [ OK ]
  206. Extracting mpfr... [ OK ]
  207. Extracting the pseudo fs... (lzma) [ OK ]
  208. Installing mpfr... [ OK ]
  209. Removing all tmp files... [ OK ]
  210. ================================================================================
  211. mpfr (3.0.1) is installed.
  212.  
  213.  
  214. Installation of : mpc-library
  215. ================================================================================
  216. Copying mpc-library... [ OK ]
  217. Extracting mpc-library... [ OK ]
  218. Extracting the pseudo fs... (lzma) [ OK ]
  219. Installing mpc-library... [ OK ]
  220. Removing all tmp files... [ OK ]
  221. ================================================================================
  222. mpc-library (0.8.2) is installed.
  223.  
  224.  
  225. Connecting to mirror.slitaz.org (94.23.209.91:80)
  226. elfutils-0.150.tazpk 100% |*******************************| 166k --:--:-- ETA
  227.  
  228. Installation of : elfutils
  229. ================================================================================
  230. Copying elfutils... [ OK ]
  231. Extracting elfutils... [ OK ]
  232. Extracting the pseudo fs... (lzma) [ OK ]
  233. Installing elfutils... [ OK ]
  234. Removing all tmp files... [ OK ]
  235. ================================================================================
  236. elfutils (0.150) is installed.
  237.  
  238.  
  239. Installation of : gcc
  240. ================================================================================
  241. Copying gcc... [ OK ]
  242. Extracting gcc... [ OK ]
  243. Extracting the pseudo fs... (lzma) [ OK ]
  244. Installing gcc... [ OK ]
  245. Removing all tmp files... [ OK ]
  246. Processing post-install commands...
  247. ================================================================================
  248. gcc (4.5.2) is installed.
  249.  
  250.  
  251. Connecting to mirror.slitaz.org (94.23.209.91:80)
  252. make-3.82.tazpkg 100% |*******************************| 70164 00:00:00 ETA
  253.  
  254. Installation of : make
  255. ================================================================================
  256. Copying make... [ OK ]
  257. Extracting make... [ OK ]
  258. Extracting the pseudo fs... (lzma) [ OK ]
  259. Installing make... [ OK ]
  260. Removing all tmp files... [ OK ]
  261. ================================================================================
  262. make (3.82) is installed.
  263.  
  264.  
  265. Connecting to mirror.slitaz.org (94.23.209.91:80)
  266. elfkickers-3.0.tazpk 100% |*******************************| 43664 --:--:-- ETA
  267.  
  268. Installation of : elfkickers
  269. ================================================================================
  270. Copying elfkickers... [ OK ]
  271. Extracting elfkickers... [ OK ]
  272. Extracting the pseudo fs... (lzma) [ OK ]
  273. Installing elfkickers... [ OK ]
  274. Removing all tmp files... [ OK ]
  275. ================================================================================
  276. elfkickers (3.0) is installed.
  277.  
  278.  
  279. Installation of : slitaz-toolchain
  280. ================================================================================
  281. Copying slitaz-toolchain... [ OK ]
  282. Extracting slitaz-toolchain... [ OK ]
  283. Extracting the pseudo fs... (lzma) [ OK ]
  284. Installing slitaz-toolchain... [ OK ]
  285. Removing all tmp files... [ OK ]
  286. ================================================================================
  287. slitaz-toolchain (4.0) is installed.
  288.  
  289.  
  290. Connecting to mirror.slitaz.org (94.23.209.91:80)
  291. ncurses-dev-5.9.tazp 100% |*******************************| 137k 00:00:00 ETA
  292. Tracking dependencies for : ncurses-dev
  293. ================================================================================
  294. Missing: ncursesw-dev
  295. ================================================================================
  296. 1 missing package(s) to install.
  297.  
  298. Connecting to mirror.slitaz.org (94.23.209.91:80)
  299. ncursesw-dev-5.9.taz 100% |*******************************| 198k --:--:-- ETA
  300.  
  301. Installation of : ncursesw-dev
  302. ================================================================================
  303. Copying ncursesw-dev... [ OK ]
  304. Extracting ncursesw-dev... [ OK ]
  305. Extracting the pseudo fs... (lzma) [ OK ]
  306. Installing ncursesw-dev... [ OK ]
  307. Removing all tmp files... [ OK ]
  308. ================================================================================
  309. ncursesw-dev (5.9) is installed.
  310.  
  311.  
  312. Installation of : ncurses-dev
  313. ================================================================================
  314. Copying ncurses-dev... [ OK ]
  315. Extracting ncurses-dev... [ OK ]
  316. Extracting the pseudo fs... (lzma) [ OK ]
  317. Installing ncurses-dev... [ OK ]
  318. Removing all tmp files... [ OK ]
  319. ================================================================================
  320. ncurses-dev (5.9) is installed.
  321.  
  322.  
  323. Connecting to mirror.slitaz.org (94.23.209.91:80)
  324. perl-5.12.3.tazpkg 100% |*******************************| 7714k 00:00:00 ETA
  325. Tracking dependencies for : perl
  326. ================================================================================
  327. Missing: libdb
  328. Missing: gdbm
  329. ================================================================================
  330. 2 missing package(s) to install.
  331.  
  332. Connecting to mirror.slitaz.org (94.23.209.91:80)
  333. libdb-4.8.26.tazpkg 100% |*******************************| 396k 00:00:00 ETA
  334.  
  335. Installation of : libdb
  336. ================================================================================
  337. Copying libdb... [ OK ]
  338. Extracting libdb... [ OK ]
  339. Extracting the pseudo fs... (lzma) [ OK ]
  340. Installing libdb... [ OK ]
  341. Removing all tmp files... [ OK ]
  342. ================================================================================
  343. libdb (4.8.26) is installed.
  344.  
  345.  
  346. Connecting to mirror.slitaz.org (94.23.209.91:80)
  347. gdbm-1.10.tazpkg 100% |*******************************| 13612 --:--:-- ETA
  348.  
  349. Installation of : gdbm
  350. ================================================================================
  351. Copying gdbm... [ OK ]
  352. Extracting gdbm... [ OK ]
  353. Extracting the pseudo fs... (lzma) [ OK ]
  354. Installing gdbm... [ OK ]
  355. Removing all tmp files... [ OK ]
  356. ================================================================================
  357. gdbm (1.10) is installed.
  358.  
  359.  
  360. Installation of : perl
  361. ================================================================================
  362. Copying perl... [ OK ]
  363. Extracting perl... [ OK ]
  364. Extracting the pseudo fs... (lzma) [ OK ]
  365. Processing pre-install commands...
  366. Installing perl... [ OK ]
  367. Removing all tmp files... [ OK ]
  368. ================================================================================
  369. perl (5.12.3) is installed.
  370.  
  371.  
  372. Installation of : linux-source
  373. ================================================================================
  374. Copying linux-source... [ OK ]
  375. Extracting linux-source... [ OK ]
  376. Extracting the pseudo fs... (lzma) [ OK ]
  377. Installing linux-source... [ OK ]
  378. Removing all tmp files... [ OK ]
  379. ================================================================================
  380. linux-source (2.6.37) is installed.
  381.  
  382.  
  383. root@slitaz:~# get-linux-source
  384. wget: bad address 'www.eu.kernel.org'
  385. Connecting to linux-kernel.uio.no (128.39.3.170:80)
  386. Connecting to linux-kernel.uio.no (128.39.3.170:80)
  387. linux-2.6.37.tar.bz2 100% |*******************************| 71853k 00:00:00 ETA
  388. tar: warning: skipping header 'g'
  389. patching file scripts/package/Makefile
  390. Apply linux-diff-2.6.37.u
  391. patching file arch/x86/vdso/Makefile
  392. patching file scripts/Makefile.lib
  393. Hunk 2 FAILED 238/239.
  394.  
  395. quiet_cmd_lzma = LZMA $@
  396. cmd_lzma = (cat $(filter-out FORCE,$^) | \
  397. - lzma -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
  398. + lzma e -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
  399. (rm -f $@ ; false)
  400.  
  401. quiet_cmd_lzo = LZO $@
  402. Apply linux-unlzma-2.6.37.u
  403. patching file init/initramfs.c
  404. patching file lib/decompress_unlzma.c
  405. Apply linux-header-2.6.37.u
  406. patching file arch/x86/boot/header.S
  407. Apply linux-freeinitrd-2.6.37.u
  408. patching file arch/x86/mm/init.c
  409. patching file init/initramfs.c
  410. Apply aufs2-base.patch
  411. patching file fs/namei.c
  412. patching file fs/splice.c
  413. patching file include/linux/namei.h
  414. patching file include/linux/splice.h
  415. Apply aufs2-standalone.patch
  416. patching file fs/file_table.c
  417. patching file fs/inode.c
  418. patching file fs/namei.c
  419. patching file fs/namespace.c
  420. patching file fs/notify/group.c
  421. patching file fs/notify/mark.c
  422. patching file fs/open.c
  423. patching file fs/splice.c
  424. patching file security/commoncap.c
  425. patching file security/device_cgroup.c
  426. patching file security/security.c
  427. Apply 001-squashfs-decompressors-add-xz-decompressor-module.patch
  428. creating Documentation/xz.txt
  429. creating include/linux/xz.h
  430. patching file lib/Kconfig
  431. patching file lib/Makefile
  432. creating lib/xz/Kconfig
  433. creating lib/xz/Makefile
  434. creating lib/xz/xz_crc32.c
  435. creating lib/xz/xz_dec_bcj.c
  436. creating lib/xz/xz_dec_lzma2.c
  437. creating lib/xz/xz_dec_stream.c
  438. creating lib/xz/xz_dec_syms.c
  439. creating lib/xz/xz_dec_test.c
  440. creating lib/xz/xz_lzma2.h
  441. creating lib/xz/xz_private.h
  442. creating lib/xz/xz_stream.h
  443. patching file scripts/Makefile.lib
  444. creating scripts/xz_wrap.sh
  445. Apply 002-squashfs-decompressors-add-boot-time-xz-support.patch
  446. creating include/linux/decompress/unxz.h
  447. patching file init/Kconfig
  448. patching file lib/Kconfig
  449. patching file lib/Makefile
  450. patching file lib/decompress.c
  451. creating lib/decompress_unxz.c
  452. patching file scripts/gen_initramfs_list.sh
  453. patching file usr/Kconfig
  454. patching file usr/Makefile
  455. Apply 003-squashfs-x86-support-xz-compressed-kernel.patch
  456. patching file Documentation/x86/boot.txt
  457. patching file arch/x86/Kconfig
  458. patching file arch/x86/boot/compressed/Makefile
  459. patching file arch/x86/boot/compressed/misc.c
  460. patching file arch/x86/boot/compressed/mkpiggy.c
  461. patching file arch/x86/include/asm/boot.h
  462. Apply 004-squashfs-add-xz-compression-support.patch
  463. patching file fs/squashfs/squashfs_fs.h
  464. creating fs/squashfs/xz_wrapper.c
  465. Apply 005-squashfs-add-xz-compression-configuration-option.patch
  466. patching file fs/squashfs/Kconfig
  467. patching file fs/squashfs/Makefile
  468. patching file fs/squashfs/decompressor.c
  469. patching file fs/squashfs/squashfs.h
  470. HOSTCC scripts/basic/fixdep
  471. HOSTCC scripts/basic/docproc
  472. HOSTCC scripts/kconfig/conf.o
  473. HOSTCC scripts/kconfig/kxgettext.o
  474. SHIPPED scripts/kconfig/zconf.tab.c
  475. SHIPPED scripts/kconfig/lex.zconf.c
  476. SHIPPED scripts/kconfig/zconf.hash.c
  477. HOSTCC scripts/kconfig/zconf.tab.o
  478. HOSTLD scripts/kconfig/conf
  479. scripts/kconfig/conf --oldconfig Kconfig
  480. #
  481. # configuration written to .config
  482. #
  483. scripts/kconfig/conf --silentoldconfig Kconfig
  484. CHK include/linux/version.h
  485. UPD include/linux/version.h
  486. CHK include/generated/utsrelease.h
  487. UPD include/generated/utsrelease.h
  488. CC kernel/bounds.s
  489. GEN include/generated/bounds.h
  490. CC arch/x86/kernel/asm-offsets.s
  491. GEN include/generated/asm-offsets.h
  492. CALL scripts/checksyscalls.sh
  493. CC scripts/mod/empty.o
  494. HOSTCC scripts/mod/mk_elfconfig
  495. MKELF scripts/mod/elfconfig.h
  496. HOSTCC scripts/mod/file2alias.o
  497. HOSTCC scripts/mod/modpost.o
  498. HOSTCC scripts/mod/sumversion.o
  499. HOSTLD scripts/mod/modpost
  500. HOSTCC scripts/kallsyms
  501. HOSTCC scripts/pnmtologo
  502. HOSTCC scripts/conmakehash
  503. HOSTCC scripts/bin2c
  504. ----
  505. To modify the kernel configuration:
  506. $ cd /usr/src/linux-2.6.37
  507. $ make menuconfig
  508.  
  509. To build the kernel and the modules:
  510. $ cd /usr/src/linux-2.6.37
  511. $ make bzImage && make modules
  512.  
  513. To install the new kernel and the modules:
  514. $ make modules_install
  515. $ cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.37-slitaz
  516.  
  517. To make a Slitaz package with the new kernel and the modules:
  518. $ make tazpkg
  519.  
  520. See /usr/src/linux-2.6.37/README
  521. ----
  522. root@slitaz:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement