You are not logged in.
Hi at all, if open the recent slitaz.iso and repack after changed anything, the size are more more big of original (~double)
Seem on original the file of efi folder are symlink of folder boot,
but I am not able to repack on any mode for get identical final size.
Where is the trick?
Offline
Did you use tazlito revision 522 to repack the slitaz iso after your modifications?
http://hg.slitaz.org/tazlito/file/efc7a7fe6ee2/tazlito
Offline
root@slitaz:/home/slitaz# ./tazlito --help
SliTaz Live Tool - Version: 6.0
Usage: tazlito [command] [list|iso|flavor|compression] [dir|iso]
Commands:
usage Print this short usage.
stats View Tazlito and distro configuration statistics.
list-addfiles Simple list of additional files in the rootfs.
gen-config Generate a new configuration file for a distro.
configure Configure the main config file or a specific tazlito.conf.
gen-iso Generate a new ISO from a distro tree.
gen-initiso Generate a new initramfs and ISO from the distro tree.
list-flavors List all flavors available on the mirror.
gen-flavor Generate a new Live CD description.
gen-liveflavor Generate a Live CD description from current system.
show-flavor Show Live CD description.
get-flavor Get a flavor's list of packages (--noup to skip update).
upgrade-flavor Update package list to the latest available versions.
extract-flavor Extract a *.flavor file into /home/slitaz/5.0/flavors.
pack-flavor Pack (and update) a flavor from /home/slitaz/5.0/flavors.
iso2flavor Create a flavor file from a SliTaz ISO image.
extract-distro Extract an ISO to a directory and rebuild Live CD tree.
gen-distro Generate a Live distro and ISO from a list of packages.
clean-distro Remove all files generated by gen-distro.
check-distro Help to check if distro is ready to release.
writeiso Use running system to generate a bootable ISO (with /home).
merge Merge multiple rootfs into one ISO.
root@slitaz:/home/slitaz# ls
slitaz-rolling.iso
tazlito extract-distro slitaz-rolling.iso
…...
root@slitaz:/home/slitaz# ls
5.0 slitaz-rolling.iso
which command from tazlito to rebuild the extracted folder 5.0 on to new.iso?
Offline
root@slitaz:/home/tux# ls /home
tux
root@slitaz:/home/tux# tazlito extract-distro slitaz-rolling.iso
Tazlito extracting: slitaz-rolling.iso
================================================================================
Mounting ISO image... [ Fait ]
Copying the Linux kernel... [ Fait ]
Copying isolinux files... [ Fait ]
Copying the rootfs... [ Fait ]
Extracting the rootfs... [ Fait ]
================================================================================
Extracted : slitaz-rolling.iso (52.0M)
Distro tree : /home/slitaz/5.0/distro
Rootfs size : 175.9M rootfs
Rootcd size : 50.4M rootcd
================================================================================
root@slitaz:/home/tux# ls /home/slitaz/5.0/distro/root*
/home/slitaz/5.0/distro/rootcd:
boot index.html md5sum README
/home/slitaz/5.0/distro/rootfs:
bin etc init media proc run sys usr
dev home lib mnt root sbin tmp var
root@slitaz:/home/tux# tazlito gen-iso
0 Kbytes saved in 0 duplicate files.
0 duplicate symlinks.
Computing md5... [ Fait ]
Generating ISO image
================================================================================
Generating slitaz-5.0.iso
Size of boot image is 4 sectors -> No emulation
Size of boot image is 220 sectors -> No emulation
19.37% done, estimate finish Sat Nov 23 22:43:07 2019
38.72% done, estimate finish Sat Nov 23 22:43:07 2019
58.05% done, estimate finish Sat Nov 23 22:43:07 2019
77.40% done, estimate finish Sat Nov 23 22:43:07 2019
96.71% done, estimate finish Sat Nov 23 22:43:08 2019
Total translation table size: 2048
Total rockridge attributes bytes: 3375
Total directory bytes: 8192
Path table size(bytes): 62
Max brk space used 1b000
25855 extents written (50 MB)
Creating hybrid ISO... [ Fait ]
Creating EXE header...
Read hybrid & tazlito data...
GUID Partition Table...
Apple Partition Table...
Adding WIN32 file at 0000 (10752 bytes) ...
Adding GPT at 0200 (1024 bytes) ...
Adding bootiso head at 0000...
Adding bootiso DOS stub at 0640...
Moving syslinux hybrid boot record at 2A00 (512 bytes) ...
Adding rootfs.gz file at 53F6 (11258 bytes) ...
Adding DOS boot file at 40C9 (4909 bytes) ...
5321 free bytes in 2C00..40C9
Adding ISO image md5 at 7FF0 (16 bytes) ...
Adding boot checksum... done.
32768 free bytes in 327F800..3287800
MBR partitions :
0:00000001 000197FF EE
EFI partitions :
0:000001A4 00019230 EFI System Partition
Creating the ISO md5sum... [ Fait ]
================================================================================
Distro statistics: /home/slitaz/5.0/distro
================================================================================
Build date : 20191123
Packages : 277
Rootfs size : 175.9M
Initramfs size : 46.4M
ISO image size : 50.5M
================================================================================
Image is ready: slitaz-5.0.iso
root@slitaz:/home/tux#
Offline
root@slitaz:/home/tux# ./tazlito gen-iso
0 Kbytes saved in 0 duplicate files.
0 duplicate symlinks.
Computing md5...
[ Done ]
Generating ISO image
Generating slitaz-5.0.iso
genisoimage: unrecognized option '-efi-boot'
Usage: genisoimage [options] -o file directory ...
root@slitaz:/home/tux# genisoimage -version
genisoimage 1.1.11 (Linux)
mv /usr/bin/genisoimage /usr/bin/genisoimageold
cp -a /home/slitaz/5.0/distro/rootfs/usr/bin/genisoimage /usr/bin/
root@slitaz:/home/tux# genisoimage -version
genisoimage 1.1.11 (Linux) <<<< same version?!?
ls -l /usr/bin/genisoimage*
-rwxr-xr-x 1 root root 485228 Feb 5 2016 /usr/bin/genisoimage
-rwxr-xr-x 1 root root 485068 Jun 26 2018 /usr/bin/genisoimageold <<< different size
root@slitaz:/home/tux# ./tazlito gen-iso
0 Kbytes saved in 0 duplicate files.
0 duplicate symlinks.
Computing md5...
[ Done ]
Generating ISO image
Generating slitaz-5.0.iso
Size of boot image is 4 sectors -> No emulation
Size of boot image is 220 sectors -> No emulation
19.44% done, estimate finish Sun Nov 24 09:53:50 2019
38.84% done, estimate finish Sun Nov 24 09:53:50 2019
58.24% done, estimate finish Sun Nov 24 09:53:50 2019
77.69% done, estimate finish Sun Nov 24 09:53:50 2019
97.07% done, estimate finish Sun Nov 24 09:53:50 2019
Total translation table size: 2048
Total rockridge attributes bytes: 3375
Total directory bytes: 9022
Path table size(bytes): 62
Max brk space used 1b000
25762 extents written (50 MB)
Creating hybrid ISO...
[ Done ]
Creating EXE header...
Read hybrid & tazlito data...
Adding WIN32 file at 0000 (6144 bytes) ...
Adding bootiso head at 0000...
Moving syslinux hybrid boot record at 1800 (512 bytes) ...
Moving tazlito data record at 1A00 (512 bytes) ...
Adding DOS/EXE stub at 7EE0 (288 bytes) ...
Compute ISO image md5 ...
Adding rootfs.gz file at 5C3A (8870 bytes) ...
Adding DOS boot file at 4109 (6961 bytes) ...
9481 free bytes in 1C00..4109
Adding checksum... done.
Creating the ISO md5sum...
[ Done ]
================================================================================
Distro statistics: %s /home/slitaz/5.0/distro
Build date : 20191124
Packages : 276
Rootfs size : 181.9M
Initramfs size : 46.3M
ISO image size : 51.1M
Image is ready: slitaz-5.0.iso
root@slitaz:/home/tux#
All OK Thank you!
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]