[EMAIL PROTECTED] wrote: > In preparation for adding new LAR functionality - this patch consolidates > creating and accessing the LAR into new code utilizing mmap which > facilitates moving about within the archive. > > This code also turns the bootblock path name as a constant value. > It also requires that the user specify a size when the LAR is > created. > > Signed-off-by: Jordan crouse <[EMAIL PROTECTED]>
This code checks whether the target file already exists and fails if this is the case. I am not sure whether this is an intended behavior. When running "make" two times in a row, the second make fails now: > Archive file ../linuxbios.rom already exists Unable to create > ../linuxbios.rom as a LAR archive. make: *** > [/home/stepan/svn/LinuxBIOSv3/build/linuxbios.rom] Error 1 I fixed this in the Makefile for now by deleting the output file before creating it. -- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: [EMAIL PROTECTED] • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866 -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios