oops.. I didn't read this email before... could you try to apply the
following patch and rebuild the packages? let me know if it'll work.
Thanks,
-Andrea
Index: make.d/kernel.rul
===================================================================
--- make.d/kernel.rul (revision 3765)
+++ make.d/kernel.rul (working copy)
@@ -77,7 +77,7 @@
else
LINUX_VERSION = 2.6.16.5
- LINUX_IMAGE = $(LINUX_SRC)/arch/ppc64/boot/zImage.initrd
+ LINUX_IMAGE = $(LINUX_SRC)/arch/ppc/boot/zImage.initrd
LINUX_TARGET = zImage.initrd
LINUX_DIR = linux-$(LINUX_VERSION)
endif
@@ -128,7 +128,7 @@
ifdef IS_PPC64
$(LINUX_IMAGE): $(SRC_DIR)/patched_kernel-stamp $(INITRD_DIR)/initrd.img
cp $(TOPDIR)/initrd_source/initrd.img \
- ${LINUX_SRC}/arch/ppc64/boot/ramdisk.image.gz
+ ${LINUX_SRC}/arch/ppc/boot/ramdisk.image.gz
$(MAKE) -C $(LINUX_SRC) -j $(NCPUS) $(LINUX_TARGET)
mkdir -p $(TOPDIR)/tmp
else
Jing CDL Sun wrote:
> Hi,all
>
> When I built systemimager-ppc64boot-standard-3.7.4-1.noarch.rpm and
> systemimager-ppc64initrd_template-3.7.4-1.noarch.rpm, I ran into
> an error:
> cp /usr/src/redhat/BUILD/systemimager-3.7.4/initrd_source/initrd.img \
> /usr/src/redhat/BUILD/systemimager-3.7.4/src/linux-2.6.16.5/arch/*ppc64*/boot/ramdisk.image.gz
> cp: cannot create regular file
> `/usr/src/redhat/BUILD/systemimager-3.7.4/src/linux-2.6.16.5/arch/*ppc64*/boot/ramdisk.image.gz':
> No such file or directory.
>
> I have checked linux-2.6.16.5.tar.bz2, in the directory of
> /usr/src/redhat/BUILD/systemimager-3.7.4/src/linux-2.6.16.5/arch:
> /[EMAIL PROTECTED] arch]# pwd/
> //usr/src/redhat/BUILD/systemimager-3.7.4/src/linux-2.6.16.5/arch/
> /[EMAIL PROTECTED] arch]#/
> /[EMAIL PROTECTED] arch]# ll/
> /total 192/
> /drwxrwxrwx 8 root root 4096 Apr 12 2006 alpha/
> /drwxrwxrwx 36 root root 4096 Apr 12 2006 arm/
> /drwxrwxrwx 8 root root 4096 Apr 12 2006 arm26/
> /drwxrwxrwx 6 root root 4096 Apr 12 2006 cris/
> /drwxrwxrwx 7 root root 4096 Apr 12 2006 frv/
> /drwxrwxrwx 7 root root 4096 Apr 12 2006 h8300/
> /drwxrwxrwx 16 root root 4096 Apr 12 2006 i386/
> /drwxrwxrwx 13 root root 4096 Apr 12 2006 ia64/
> /drwxrwxrwx 14 root root 4096 Apr 12 2006 m32r/
> /drwxrwxrwx 21 root root 4096 Apr 12 2006 m68k/
> /drwxrwxrwx 6 root root 4096 Apr 12 2006 m68knommu/
> /drwxrwxrwx 36 root root 4096 Apr 12 2006 mips/
> /drwxrwxrwx 9 root root 4096 Apr 12 2006 parisc/
> /drwxrwxrwx 11 root root 4096 Apr 12 2006 powerpc/
> /drwxrwxrwx 15 root root 4096 Apr 12 2006 /*/ppc/*
> /drwxrwxrwx 10 root root 4096 Apr 12 2006 s390/
> /drwxrwxrwx 12 root root 4096 Apr 12 2006 sh/
> /drwxrwxrwx 12 root root 4096 Apr 12 2006 sh64/
> /drwxrwxrwx 8 root root 4096 Apr 12 2006 sparc/
> /drwxrwxrwx 10 root root 4096 Apr 12 2006 sparc64/
> /drwxrwxrwx 11 root root 4096 Apr 12 2006 um/
> /drwxrwxrwx 5 root root 4096 Apr 12 2006 v850/
> /drwxrwxrwx 10 root root 4096 Apr 12 2006 x86_64/
> /drwxrwxrwx 8 root root 4096 Apr 12 2006 xtensa/
>
> there is only the "ppc" arch but "ppc64", I have a look at Makefile
> file, it seems that ARCH is from "uname -m", because my machine is
> "ppc64", so SIS can not
> find the directory of
> /usr/src/redhat/BUILD/systemimager-3.7.4/src/linux-2.6.16.5/arch/*ppc64*".
>
> since I do not know how to change code correctly, so I think out a
> method to work around this problem, which is to unzip the package
> linux-2.6.16.5.tar.bz2, and change the name of "ppc" to "ppc64", hehe,
> though I think it is not a good way. I will try....
>
> could you tell me whether you have ran into this problem either? what is
> the correct method to fix this problem if yes, thank you..
>
>
> Best Regards,
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel