sudo mount -o loop TinyCore-10.0.iso iso_contents
mkdir iso_contents_copy
rsync -a -H iso_contents/ iso_contents_copy
sudo umount iso_contents
<do someting modify core.gz>
mkisofs -o ReBuildTinyCore-10.0.iso -J -R -hfs iso_contents_copy/
isoinfo -d -i ./TinyCore-10.0.iso
CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: TinyCore
Volume set id:
Publisher id:
Data preparer id:
Application id: MKISOFS ISO9660/HFS/UDF FILESYSTEM BUILDER & CDRECORD CD/DVD/BluRay CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 9085
El Torito VD version 1 found, boot catalog is in sector 44
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
Eltorito validation header:
Hid 1
Arch 0 (x86)
ID ''
Key 55 AA
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 0 (No Emulation Boot)
Load segment 0
Sys type 0
Nsect 4
Bootoff 2D 45
above is original .
----------------------------------------------------------------------------------------------------------CD-ROM is in ISO 9660 format
System id: LINUX
Volume id: CDROM
Volume set id:
Publisher id:
Data preparer id:
Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
Copyright File id:
Abstract File id:
Bibliographic File id:
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 10197
Joliet with UCS level 3 found
Rock Ridge signatures version 1 found
[code][ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517
isoinfo -i ${isoimg} -x /BOOT/CORE.GZ\;1 > ${isoimg}.WorkingTree/core_x.gzP.S2 : compress back to core back again by command as below.
zcat ../core_x.gz | fakeroot -s ../initrd.fakeroot cpio -i -H newc -d
sudo find | fakeroot -i ../initrd.fakeroot cpio -o -H newc | gzip -9 > ../core_SVN_XXX.gzP.S3 : my iso command.
mkdir iso_contents
mkdir iso_contents_copy
sudo mount -o loop TinyCore-10.0.iso iso_contents
rsync -a -H iso_contents/ iso_contents_copy
sudo umount iso_contents
sudo rm iso_contents_copy/boot/isolinux/isolinux.cfg
sudo rm iso_contents_copy/boot/core.gz
sudo cp isolinux.cfg iso_contents_copy/boot/isolinux
sudo cp core_SVN_$SVN_REV.gz iso_contents_copy/boot/
cd iso_contents_copy
sudo mkisofs -r -l -J -R -no-emul-boot -V TC-custom -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -quiet -r -o ../linux_boot_$SVN_DATE\_V$SVN_REV.iso ./
cd ..
sudo rm iso_contents -r
sudo rm iso_contents_copy -r
ls linux_boot_$SVN_DATE\_V$SVN_REV.iso -l