· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Jin LiveCD/Make Process

JinLiveCD/MakeProcess


  • 2005.10.19
  • /mnt/sda15 new install
  • rpm -ivh kernel-2.6.13-1.1526_FC4.src.rpm
  • cd /usr/src/redhat/SPECS/
  • rpmbuild -bp --target i586 kernel-2.6.spec
  • cp -Rp /usr/src/redhat/BUILD/kernel-2.6.13/linux-2.6.13 /usr/src
  • cd /usr/src
  • ln -s linux-2.6.13 linux
  • cd linux
  • patch -p1 < /root/JIN/bootsplash-3.1.6-2.6.13.diff
  • patch -p1 < /root/JIN/squashfs2.2-r2/linux-2.6.13/squashfs2.2-patch
  • make oldconfig
Bootup splash screen (BOOTSPLASH) [N/y/?] (NEW)
SquashFS 2.2 - Squashed file system support (SQUASHFS) [N/m/y/?] (NEW) y
  Additional options for memory-constrained systems (SQUASHFS_EMBEDDED) [N/y/?] (NEW)
  • make gconfig
For NTFS 
File systems -> DOS/FAT/NT Filesystems -> NTFS file system support M

For bootsplash
Processor type and features --->
  [ ] Use register arguments (EXPERIMENTAL)
Device Drivers --->
  Graphics support --->
    [*] Support for frame buffer devices
    [*] VESA VGA graphics support
  Console display driver support --->
    [*] Video mode selection support
    <*> Framebuffer Console support
  Logo configuration --->
    [ ] Bootup logo
  Bootsplash configuration --->
    [*] Bootup splash screen
diff .config
148c148
< # CONFIG_REGPARM is not set
---
> CONFIG_REGPARM=y
2225c2225,2228
< # CONFIG_LOGO is not set
---
> CONFIG_LOGO=y
> # CONFIG_LOGO_LINUX_MONO is not set
> # CONFIG_LOGO_LINUX_VGA16 is not set
> CONFIG_LOGO_LINUX_CLUT224=y
2233,2237d2235
< # Bootsplash configuration
< #
< CONFIG_BOOTSPLASH=y
<
< #
2681,2683c2679
< CONFIG_NTFS_FS=m
< # CONFIG_NTFS_DEBUG is not set
< # CONFIG_NTFS_RW is not set
---
> # CONFIG_NTFS_FS is not set
2720,2723d2715
< CONFIG_SQUASHFS=y
< # CONFIG_SQUASHFS_EMBEDDED is not set
< CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
< # CONFIG_SQUASHFS_VMALLOC is not set
2858c2850
< # CONFIG_DEBUG_INFO is not set
---
> CONFIG_DEBUG_INFO=y
  • edit Makefile
    • EXTRAVERSION = -prep
    • EXTRAVERSION = -jin01
  • make bzImage
  • make modules
  • make modules_install
  • make install
  • cp /boot/*jin* /mnt/sda15/boot/
  • cp /lib/modules/*jin* /lib/modules/
  • edit grub.conf
  • reboot
  • cd /etc
  • cp /mnt/sda11/FC4/yum.conf .
  • cd /mnt/sda11/FC4/download/totem
  • rpm -ivh --force libraw1394-0.10.1-3.i386.rpm
  • yum install gstreamer-universe
  • cd ../kde
  • rpm -ivh xorg-x11-xdm-6.8.2-31.i386.rpm
  • rpm -ivh dmidecode-2.6-1.14.i386.rpm
  • rpm -ivh lm_sensors-2.8.8-5.i386.rpm
  • rpm -ivh kdelibs-3.4.0-6.i386.rpm
  • rpm -ivh kdebase-3.4.0-5.i386.rpm
  • download mikmod-3.1.6-34.i386.rpm
  • cd ../xmms
  • rpm -ivh mikmod-3.1.6-34.i386.rpm
  • rpm -ivh xmms*
  • cd /usr/share/pixmaps
  • cp /mnt/sda11/FC4/icons/*.png .
  • /usr/share/icons/Bluecurve
  • cp /mnt/sda11/FC4/icons/cpicons .
  • sh cpicons
mv: cannot stat `20x20/apps/gnome-main-menu.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `20x20/apps/icon-panel-menu.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `20x20/apps/icon-panel.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
cp: cannot stat `/usr/share/pixmaps/gnome-panel.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `64x64/apps/gnome-main-menu.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `64x64/apps/icon-panel-menu.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `64x64/apps/icon-panel.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `96x96/apps/gnome-main-menu.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `96x96/apps/icon-panel-menu.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
mv: cannot stat `96x96/apps/icon-panel.png': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮°¡ ¾øÀ½
  • rm cpicons
  • cd /usr/share/backgrounds/images
  • mv default.png default.png.fc
  • cp /mnt/sda11/FC4/backgrounds/*.png .
  • cp /mnt/sda11/FC4/backgrounds/*.jpg .
  • cd /usr/share/gdm/themes/
  • cp -Rp /mnt/sda11/FC4/gdm/aproachone .
  • cd /etc/X11/gdm
  • mv gdm.conf gdm.conf.fc
  • cp /mnt/sda11/FC4/gdm/gdm.conf .
  • /usr/share/pixmaps/splash/
  • mv gnome-splash.png gnome-splash.png.fc
  • cp /mnt/sda11/FC4/gnome-splash/gnome-splash.png .
  • cd /usr/share/gnome
  • mv default.session default.session.fc
  • cp /mnt/sda11/FC4/gnome-splash/default.session .
  • cp -Rp /mnt/sda11/FC4/opt/booyo /opt/
  • cd /sbin
  • mv init init.org
  • mv halt halt.org
  • mv reboot reboot.org
  • mv poweroff poweroff.org
  • cp /mnt/sda11/FC4/booyolivecd/sysvinit-2.85/src/init .
  • ln -sf init halt
  • ln -sf init reboot
  • ln -sf init poweroff
  • cd /etc
  • cp -Rp /mnt/sda11/FC4/bootsplash .
  • reboot /mnt/sda14/LIVECD.build
  • make files system
  • make squashfs
  • make bootsplash
  • cp bootsplash to initrd

  • cp -Rp /mnt/sda11/FC4/JIN.build /

  • bootsplash ¿ë À̹ÌÁö ¸¸µé¾î¾ß ÇÔ.
  • tar jxvf bootsplash-3.0.7.tar.bz2
  • cd bootsplash-3.0.7
  • edit Makefile
  • CFLAGS = -Os -Wall -I/usr/include/freetype2
  • CFLAGS = -Os -DFT_FREETYPE_H -Wall -I/usr/include/freetype2
  • rpm -ivh libmng-devel-1.0.9-1.i386.rpm
  • rpm -ivh libjpeg-devel-6b-34.i386.rpm
  • make
[root@localhost Utilities]# make
gcc -Os -Wall -I/usr/include/freetype2  -L/usr/lib  splash.c   -o splash
gcc -Os -Wall -I/usr/include/freetype2  -L/usr/lib  fbresolution.c   -o fbresolution
gcc -Os -Wall -I/usr/include/freetype2   -c -o fbtruetype.o fbtruetype.c
gcc -Os -Wall -I/usr/include/freetype2   -c -o fbtruetype-messages.o fbtruetype-messages.c
gcc -Os -Wall -I/usr/include/freetype2   -c -o console.o console.c
gcc -Os -Wall -I/usr/include/freetype2   -c -o ttf.o ttf.c
In file included from ttf.c:13:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
make: *** [ttf.o] ¿À·ù 1
  • cp -Rp /mnt/sda8/etc/bootsplash /etc/
  • make image-1024-768.jpg
  • cp image /etc/bootsplash/themes/default/images/
  • cd /etc/bootsplash/themes/default/config
  • edit bootsplash-1024x768.cfg
  • /bootsplash-3.0.7/Utilities/splash -s -f bootsplash-1024x768.cfg > bootsplash
  • cp /etc/initrd.img /var/local/
  • cd /var/local
  • mv initrd.img initrd.gz
  • gunzip initrd.gz
  • cpio -i < initrd.gz
  • mkdir INIT
  • mv b-s* INIT
  • mv INIT/initrd .
  • mv /etc/bootsplash/themes/default/config/bootsplash .
  • (cd INIT; find . | cpio --quiet -c -o) > initrd.cpio
  • gzip -9 initrd.cpio
  • mv initrd.cpio.gz initrd.img
  • mv initrd.img /boot/

Çϵåµð½ºÅ© ±¸¼º

  • Å« partition À» ¸¸µé°í, ÀÌ °÷¿¡ °³¹ß ȯ°æÀ¸·Î ±¸ÃàÇÑ´Ù.
  • /dev/sda14
  • ÀÌ °÷¿¡ JIN.build ¸¦ º¹»ç
  • ÀÛÀº ÆÄƼ¼ÇÀ» Çϳª ¸¸µé°í, ÀÌ °÷¿¡ live cd ¸¦ ¸¸µé ³»¿ëÀ» ¼³Ä¡ÇÑ´Ù.
  • JIN.build ¹Ø¿¡ JIN.mkfsln À» ¸Â°Ô ¼öÁ¤ÇÑ´Ù.
  • squashfs ¸¦ ¸¸µé±â À§ÇÑ ÆÄÀϽýºÅÛÀº /dev/sda14 ¿¡ ¸¸µç´Ù.

  • dietlibc-0.29 ( http://www.fefe.de/dietlibc/ ) ¼³Ä¡
  • ugrep ( http://robur.slu.se/jensl/ugrep/ )
    • edit Makefile
ugrep:          ugrep.o regex.o uio.o
                diet gcc -s -o ugrep uio.o regex.o ugrep.o
ugrep.o:        ugrep.c
                diet gcc -g -Wall -Os -c ugrep.c
regex.o:        regex.c regex.h
                diet gcc -g -Wall -Os -c regex.c
uio.o:          uio.c uio.h
                diet gcc -g -Wall -Os -c uio.c
clean:
                rm -f ugrep uegrep udgrep *.o
tarball:
                cd .. && tar cvvIf ugrep.tar.bz2 ugrep
test:           ugrep
                ./testrun
  • ash-booyo
[root@localhost ash-booyo]# make
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -s mkinit.c -o mkinit
mkinit.c: In function ¡®main¡¯:
mkinit.c:181: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
mkinit.c: In function ¡®ckfopen¡¯:
mkinit.c:512: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
mkinit.c: In function ¡®ckmalloc¡¯:
mkinit.c:520: warning: conflicting types for built-in function ¡®malloc¡¯
mkinit.c: In function ¡®error¡¯:
mkinit.c:545: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(sprintf.o)(.text+0x12): In function `sprintf':
sprintf.c: warning: warning: Avoid *sprintf; use *snprintf. It is more secure.
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(stderr.o)(.text+0x7): In function `__fflush_stderr':
stderr.c: warning: warning: your code uses stdio (7+k bloat).
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(vfprintf.o)(.text+0x36): In function `vfprintf':
vfprintf.c: warning: warning: the printf functions add several kilobytes of bloat.
sh ./mkbuiltins
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -s mknodes.c -o mknodes
mknodes.c: In function ¡®error¡¯:
mknodes.c:423: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
mknodes.c: In function ¡®savestr¡¯:
mknodes.c:433: warning: conflicting types for built-in function ¡®malloc¡¯
mknodes.c:435: warning: incompatible implicit declaration of built-in function ¡®strlen¡¯
mknodes.c:437: warning: incompatible implicit declaration of built-in function ¡®strcpy¡¯
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(sprintf.o)(.text+0x12): In function `sprintf':
sprintf.c: warning: warning: Avoid *sprintf; use *snprintf. It is more secure.
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(vfprintf.o)(.text+0x36): In function `vfprintf':
vfprintf.c: warning: warning: the printf functions add several kilobytes of bloat.
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(stderr.o)(.text+0x7): In function `__fflush_stderr':
stderr.c: warning: warning: your code uses stdio (7+k bloat).
./mknodes nodetypes nodes.c.pat
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -s mksyntax.c -o mksyntax
mksyntax.c: In function ¡®main¡¯:
mksyntax.c:120: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
mksyntax.c:124: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
mksyntax.c:143: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
mksyntax.c:162: warning: incompatible implicit declaration of built-in function ¡®strlen¡¯
mksyntax.c:171: warning: incompatible implicit declaration of built-in function ¡®strlen¡¯
mksyntax.c:226: warning: incompatible implicit declaration of built-in function ¡®exit¡¯
mksyntax.c: In function ¡®print¡¯:
mksyntax.c:298: warning: incompatible implicit declaration of built-in function ¡®strlen¡¯
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(sprintf.o)(.text+0x12): In function `sprintf':
sprintf.c: warning: warning: Avoid *sprintf; use *snprintf. It is more secure.
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(vfprintf.o)(.text+0x36): In function `vfprintf':
vfprintf.c: warning: warning: the printf functions add several kilobytes of bloat.
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(stderr.o)(.text+0x7): In function `__fflush_stderr':
stderr.c: warning: warning: your code uses stdio (7+k bloat).
./mksyntax
signed 8 bit chars
./mkinit 'diet gcc -O2 -Os -c  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ init.c' builtins.c cd.c dirent.c bltin/echo.c error.c eval.c exec.c expand.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c mystring.c nodes.c options.c parser.c redir.c show.c syntax.c trap.c output.c var.c bltin/test.c bltin/mount.c bltin/umount.c bltin/cat.c bltin/lsmod.c bltin/rmmod.c bltin/sleep.c bltin/insmod.c bltin/losetup.c
diet gcc -O2 -Os -c  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ init.c
touch init.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o init.o -c init.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o builtins.o -c builtins.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o cd.o -c cd.c
cd.c: In function ¡®getpwd¡¯:
cd.c:350: warning: incompatible implicit declaration of built-in function ¡®execl¡¯
cd.c:354: warning: incompatible implicit declaration of built-in function ¡®_exit¡¯
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o dirent.o -c dirent.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/echo.o -c bltin/echo.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o error.o -c error.c
error.c: In function ¡®exraise¡¯:
error.c:80: warning: incompatible implicit declaration of built-in function ¡®abort¡¯
error.c: In function ¡®onint¡¯:
error.c:109: warning: incompatible implicit declaration of built-in function ¡®_exit¡¯
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o eval.o -c eval.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o exec.o -c exec.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o expand.o -c expand.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o input.o -c input.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o jobs.o -c jobs.c
jobs.c: In function ¡®dowait¡¯:
jobs.c:748: warning: passing argument 1 of ¡®out2str¡¯ discards qualifiers from pointer target type
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o mail.o -c mail.c
mail.c: In function ¡®chkmail¡¯:
mail.c:93: warning: incompatible implicit declaration of built-in function ¡®abort¡¯
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o main.o -c main.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o memalloc.o -c memalloc.c
memalloc.c: In function ¡®stunalloc¡¯:
memalloc.c:155: warning: incompatible implicit declaration of built-in function ¡®abort¡¯
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o miscbltin.o -c miscbltin.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o mystring.o -c mystring.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o nodes.o -c nodes.c
nodes.c: In function ¡®calcsize¡¯:
nodes.c:163: warning: incompatible implicit declaration of built-in function ¡®strlen¡¯
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o options.o -c options.c
sh ./mktokens
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o parser.o -c parser.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o redir.o -c redir.c
redir.c: In function ¡®openredirect¡¯:
redir.c:204: warning: incompatible implicit declaration of built-in function ¡®abort¡¯
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o show.o -c show.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o syntax.o -c syntax.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o trap.o -c trap.c
trap.c: In function ¡®exitshell¡¯:
trap.c:327: warning: incompatible implicit declaration of built-in function ¡®_exit¡¯
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o output.o -c output.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o var.o -c var.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/test.o -c bltin/test.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/mount.o -c bltin/mount.c
In file included from bltin/mount.c:8:
bltin/bltin.h:53:1: warning: "putc" redefined
In file included from bltin/mount.c:6:
/root/Desktop/dietlibc-0.29/include/stdio.h:62:1: warning: this is the location of the previous definition
In file included from bltin/mount.c:8:
bltin/bltin.h:54:1: warning: "putchar" redefined
In file included from bltin/mount.c:6:
/root/Desktop/dietlibc-0.29/include/stdio.h:63:1: warning: this is the location of the previous definition
bltin/mount.c: In function ¡®mountcmd¡¯:
bltin/mount.c:52: warning: initialization discards qualifiers from pointer target type
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/umount.o -c bltin/umount.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/cat.o -c bltin/cat.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/lsmod.o -c bltin/lsmod.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/rmmod.o -c bltin/rmmod.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/sleep.o -c bltin/sleep.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/insmod.o -c bltin/insmod.c
diet gcc -O2 -Os  -DSHELL -D_LINUX_SOURCE -I/usr/src/linux/include -I. -D__BIT_TYPES_DEFINED__ -o bltin/losetup.o -c bltin/losetup.c
bltin/losetup.c: In function ¡®set_loop¡¯:
bltin/losetup.c:141: warning: pointer targets in passing argument 1 of ¡®strncpy¡¯ differ in signedness
bltin/losetup.c:143: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness
bltin/losetup.c:147: warning: pointer targets in passing argument 1 of ¡®strncpy¡¯ differ in signedness
diet gcc -O2 -Os  -o sh init.o builtins.o cd.o dirent.o bltin/echo.o error.o eval.o exec.o expand.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o nodes.o options.o parser.o redir.o show.o syntax.o trap.o output.o var.o bltin/test.o bltin/mount.o bltin/umount.o bltin/cat.o bltin/lsmod.o bltin/rmmod.o bltin/sleep.o bltin/insmod.o bltin/losetup.o -s
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(vfprintf.o)(.text+0x36): In function `vfprintf':
vfprintf.c: warning: warning: the printf functions add several kilobytes of bloat.
/root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(vsscanf.o)(.text+0x65): In function `vsscanf':
vsscanf.c: warning: warning: the scanf functions add several kilobytes of bloat./root/Desktop/dietlibc-0.29/bin-i386/dietlibc.a(stderr.o)(.text+0x7): In function `__fflush_stderr':
stderr.c: warning: warning: your code uses stdio (7+k bloat).
  • insmod Å©±â°¡ ³Ê¹« Å­
    • dietlibc »ç¿ë
    • -g ¿É¼Ç Á¦°Å

  • busybox ¾²±â·Î ÇÔ. busybox-20051025.tar.bz2
ash builtin
dot, eval, echo, exec, exit, export, false, hash, 
local, pwd, read, return, set, shift, times, trap,
true, type, umask, unset, wait, ulimit
busybox static
basename, cat, dirname, head, ls, mknod, sleep,
tail, tr, sed, grep, insmod, rmmod, mount, umount,
test

  • awk, cut, expr À» Ãß°¡ÇßÁö¸¸, awk, expr Àº ¾ø¿¡µµ µÉ °Í °°À½.
  • pivot_root Ãß°¡

  • unionfs ´Â mv ¿¡ ¹®Á¦°¡ ÀÖ½¿.
  • /opt/booyo/mkxf86.. °ú rebuild... ¿¡¼­ mv ¸¦ cp ·Î º¯°æ
  • hal ¿¡¼­ »ç¿ëÇÏ´Â µí ÇÔ.
    • syscall rename ¿¡¼­ ¹®Á¦ ¹ß»ýÇÔ.

  • unionfs
    • unionfs ¿¡ Çϳª¸¸ »ç¿ëÇÒ °æ¿ì ¾ÆÁ÷Àº ¹®Á¦°¡ ¾øÀ½.
    • unionfs-20051025-2113.tar.gz
    • Ä¿³Î¿¡ Àû¿ë

  • root passwd change to livecd
  • totem

ÇØ¾ß ÇÒ ÀÏ

  • LIVECD.Master ¹Ø¿¡ index.html ¸¸µé °Í
  • busybox ÀÇ »ç¿ëÀº ´ÙÀ½À¸·Î ¹Ì·ç¾î¾ß ÇÒ °Í °°À½.
  • ash ¿¡ grep À» builtin ÇØ º¼ °Í
  • ash update ( suse ash source rpm )
  • sysvinit update ÇÊ¿äÇÔ. ( FC4 )

2005. 10. 29

  • install /dev/sda9
  • cd /etc/yum.repos.d
  • make freshrpms.repo
[core]
name=FreshRPMS-Core
baseurl=http://ayo.freshrpms.net/fedora/linux/4/i386/core
enabled=1
gpgcheck=0
[updates]
name=FreshRPMS-Updates
baseurl=http://ayo.freshrpms.net/fedora/linux/4/i386/updates
enabled=1
gpgcheck=0
[freshrpms]
name=FreshRPMS-Fresh
baseurl=http://ayo.freshrpms.net/fedora/linux/4/i386/freshrpms
enabled=1
gpgcheck=0
rpm http://ayo.freshrpms.net fedora/linux/4/i386 core updates freshrpms
rpm http://ayo.freshrpms.net fedora/linux/4/i386 tupdates
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
  • apt-get update
  • edit /etc/apt/apt.conf
  GPG-Check "false";
  • apt-get install mplayer

2005. 10. 29

  • splash image ¿¡ press F2 ¹®±¸¸¦ ³ÖÀ» °Í
  • root/Desktop ¹Ø¿¡ apt-0.5.15cnc7-6.fc4.i386.rpm À» /mnt/sda11/FC4/download ¹ØÀ¸·Î ¿Å±æ °Í
  • init ¿¡ splash progress ³ÖÀ» °Í

Jul 05 17:11:39 Updated: xorg-x11-libs.i386 6.8.2-37
Jul 05 17:11:40 Installed: ladspa.i386 1.12-5
Jul 05 17:11:40 Installed: pkgconfig.i386 1:0.15.0-6
Jul 05 17:11:40 Installed: zlib-devel.i386 1.2.2.2-3
Jul 05 17:11:41 Installed: libmad.i386 0.15.1-0.lvn.1.b.3
Jul 05 17:11:41 Installed: liboil.i386 0.3.2-2.fc4
Jul 05 17:11:41 Installed: swfdec.i386 0.3.5-0.gst.1.3
Jul 05 17:11:42 Installed: libxml2-devel.i386 2.6.19-1
Jul 05 17:11:43 Installed: freetype-devel.i386 2.1.9-2
Jul 05 17:11:44 Installed: fontconfig-devel.i386 2.2.3-13
Jul 05 17:11:46 Installed: xorg-x11-devel.i386 6.8.2-37
Jul 05 17:11:47 Installed: glib2-devel.i386 2.6.4-1
Jul 05 17:11:48 Installed: gstreamer-devel.i386 0.8.10-1
Jul 05 17:11:48 Installed: blop.i386 0.2.8-0.fdr.1.3
Jul 05 17:11:49 Installed: gstreamer-editor.i386 0.8.0-0.fdr.1.3
Jul 05 17:11:50 Installed: lame.i386 3.96.1-0.lvn.1.3
Jul 05 17:11:50 Updated: xorg-x11-xfs.i386 6.8.2-37
Jul 05 17:11:50 Installed: aalib.i386 1.4.0-0.rc5.4
Jul 05 17:11:50 Installed: mpeg2dec.i386 0.4.0-0.lvn.3.b.3
Jul 05 17:11:51 Installed: libshout.i386 2.0-0.fdr.1.3
Jul 05 17:11:51 Installed: fftw.i386 2.1.5-8
Jul 05 17:11:51 Installed: swh-plugins.i386 0.4.12-0.fdr.1.3
Jul 05 17:11:52 Installed: faad2.i386 2.0-0.lvn.3.3
Jul 05 17:11:52 Installed: libdvdcss.i386 1.2.8-0.lvn.5.3
Jul 05 17:11:52 Installed: libdvdread.i386 0.9.4-0.lvn.1.3
Jul 05 17:11:52 Installed: libdvdnav.i386 0.1.10-0.lvn.1.3
Jul 05 17:11:52 Installed: mikmod.i386 3.1.6-35.FC4
Jul 05 17:11:54 Updated: gstreamer-plugins.i386 0.8.10-0.gst.1.3
Jul 05 17:11:55 Installed: marlin.i386 0.7-0.fdr.1.3
Jul 05 17:11:56 Installed: gstreamer-plugins-video.i386 0.8.10-0.gst.1.3
Jul 05 17:11:56 Installed: gstreamer-plugins-audio.i386 0.8.10-0.gst.1.3
Jul 05 17:11:57 Installed: gstreamer-ffmpeg.i386 0.8.5-0.gst.1.3
Jul 05 17:11:58 Installed: pitivi.i386 0.1.1-0.fdr.1.3
Jul 05 17:11:58 Installed: gstreamer-plugins-devel.i386 0.8.10-0.gst.1.3
Jul 05 17:11:59 Installed: gstreamer-monkeysaudio.i386 0.8.0-0.lvn.1.3
Jul 05 17:11:59 Installed: gsm.i386 1.0.10-0.lvn.7.3
Jul 05 17:11:59 Installed: a52dec.i386 0.7.4-0.lvn.7.3
Jul 05 17:11:59 Installed: libid3tag.i386 0.15.1-3.b
Jul 05 17:12:00 Installed: gstreamer-plugins-extra-audio.i386 0.8.10-0.gst.1.3
Jul 05 17:12:01 Installed: libfame.i386 0.9.1-0.lvn.1.3
Jul 05 17:12:02 Installed: gstreamer-plugins-extra-video.i386 0.8.10-0.gst.1.3
Jul 05 17:12:03 Installed: gstreamer-plugins-extra-dvd.i386 0.8.10-0.gst.1.3
Jul 05 17:12:03 Installed: gstreamer-universe.i386 0.8.2-0.fdr.1.3
Jul 05 17:12:07 Updated: xorg-x11.i386 6.8.2-37

2005. 12. 3


fc5

  • cd /usr/src
  • ln -s linux-2.6.13 linux
  • cd linux
  • patch -p1 < /root/JIN/bootsplash-3.1.6-2.6.15.diff



sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-04-22 23:19:01
Processing time 0.0110 sec