[PATCH] error with genromfs in new build system
I think that there is a error with genromfs in build/Makefile
I was building netboot image for sparc and I got a error.
the "-f" flag is missing.
In old build system, it was present (
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/debian-installer/build/Makefile?rev=1.265&content-type=text/x-cvsweb-markup&cvsroot=d-i
)
I think this patch could solve this problem. I only test the first case.
Thanks
--
Thomas Poindessous
Index: Makefile
===================================================================
RCS file: /cvsroot/d-i/debian-installer/build/Makefile,v
retrieving revision 1.269
diff -u -r1.269 Makefile
--- Makefile 8 Feb 2004 08:15:05 -0000 1.269
+++ Makefile 9 Feb 2004 00:19:37 -0000
@@ -564,7 +564,7 @@
if [ $(INITRD_FS) = ext2 ]; then \
$(genext2fs) $(TEMP)/initrd; \
elif [ $(INITRD_FS) = romfs ]; then \
- genromfs -d $(TREE) $(TEMP)/initrd; \
+ genromfs -d $(TREE) -f $(TEMP)/initrd; \
else \
echo "Unsupported filesystem type"; \
exit 1; \
@@ -606,7 +606,7 @@
set -e; if [ $(INITRD_FS) = ext2 ]; then \
$(genext2fs) $@; \
elif [ $(INITRD_FS) = romfs ]; then \
- genromfs -d $(TREE) $@; \
+ genromfs -d $(TREE) -f $@; \
else \
echo "Unsupported filesystem type"; \
exit 1; \
Reply to: