Report on how the emerge.c programming is going. Since epkg is already taken I unpacker applet tbz2pkg.
http://home.tiscali.no/natanael/software/busybox/tbz2pkg.c http://home.tiscali.no/natanael/software/busybox/busybox-1.00-tbz2pkg.diff If you want to try it, please remember to set the --root=... option (or use the env var ROOT=...) It does unpack tbz2's. The --pretend does not work yet. I just realized that the tar_handle->reject list (.--exclude) does not really work so --install-mask don't work either :-/ If anyone have any suggestion how to do the install-mask stuff, please let me hear. How it works: create pipes && fork child: read from parent to eof write to tar -jx write unpacked file list to parent exit parent: read from stdin or specified file write to child until XPAKPACK is found. read the rest into XPAK buffer. (now we know the PF and CATEGORY) write xpak read filelist from child are the busybox people aware of that we are writing emerge.c? I'd like to ask on the busybox dev ml about the tar and reject list. emerge.c is untouched. I'd like to get the tbz2pkg work first. -- Natanael Copa -- [email protected] mailing list
