> Fixed, thanks.
>
>> - Second there is no manpage for si_installbtimage, debian/rules
>> mv
>> $(CURDIR)/debian/$(PKG)-server/usr/share/man/man8/si_installbtimage.8.gz\
>> #$(CURDIR)/debian/$(PKG)-server-bittorrent/usr/share/man/man8
>
> Sorry... I don't understand. It seems to be there:
>
Which the 3.9.3 ;-) version i get an error that the file is not there. Is
it generated?
>> - The process of building the amd64
>> 1) systemimager-boot-amd64-standard_3.9.2_all.deb
>> 2) systemimager-initrd-template-amd64_3.9.2_all.deb
>>
>> goes wrong because it tries to cd to amd64 directory. That is the
>> architecture for a debian packagem but the directory is named x86_64. I
>> did not rename the directory but i made an extra statement in
>> debian/rules that
>> if architecture is amd64 then use COPY_ARCH=x86_64:
>>
>> COPY_ARCH = $(shell if [ "${ARCH}" == "amd64" ]; then echo "x86_64";
>> else echo ${ARCH}; fi)
>>
>> So in the amd64 package the directories have the name x86_64. So we do
>> have to change a lot of scripts
>>
>> I have attached the rules file that i use and worked for me ;-)
>>
>> Also i changed all occurrences in debian/control file from x86_64 to
>> amd64 else we also can not make the packages mentioned above
>>
>
> So do you suggest to replace x86_64 to amd64? What do you think about the
> following patch?
>
Andrea the x86_64 is the name for Redhat and other distro's in
Debian/Ubuntu the name is amd64 (some historical reasons and it is not only
for amd but also for intel ;-) ).
So i want to leaf the directories names the same for:
* <patH>/systemimager/boot
i386 ia64 x86_64
Sometimes you have setup a debian systemimager server and you want to
install x86_64 redhat clients and amd64 debian clients with the standard
boot images. They can both use the x86_64 directory. It depends on the
client which architecture we must have. The simplest solution would be
that we make a simlink:
ln -s x86_64 amd64
Or we adjust the software that amd64 is equivalent to x86_64.
This patch seems to introduce a new architecture for debian and that is not
needed.
Regards
> Thanks for the hints. I'm a newbie in Debian packaging and this kind of help
> is
> very useful.
>
> -Andrea
>
> ---
>
> Index: debian/control.in
> ===================================================================
> --- debian/control.in (revision 4177)
> +++ debian/control.in (working copy)
> @@ -22,7 +22,7 @@
>
> Package: systemimager-client
> Architecture: all
> -Depends: ${perl:Depends}, file, rsync, netcat,
> systemimager-initrd-template-alpha | systemimager-initrd-template-i386 |
> systemimager-initrd-template-ia64 | systemimager-initrd-template-parisc |
> systemimager-initrd-template-ppc64-iSeries |
> systemimager-initrd-template-ppc64-ps3 | systemimager-initrd-template-ppc64 |
> systemimager-initrd-template-ppc64ydl | systemimager-initrd-template-ppc |
> systemimager-initrd-template-x86_64, systemimager-common (=
> ${source:Version}), systemconfigurator (>= 2.2.9)
> +Depends: ${perl:Depends}, file, rsync, netcat,
> systemimager-initrd-template-alpha | systemimager-initrd-template-i386 |
> systemimager-initrd-template-ia64 | systemimager-initrd-template-parisc |
> systemimager-initrd-template-ppc64-iSeries |
> systemimager-initrd-template-ppc64-ps3 | systemimager-initrd-template-ppc64 |
> systemimager-initrd-template-ppc64ydl | systemimager-initrd-template-ppc |
> systemimager-initrd-template-amd64, systemimager-common (=
> ${source:Version}), systemconfigurator (>= 2.2.9)
> Description: Utilities for creating an image and upgrading client machines
> SystemImager is a set of utilities for installing GNU/Linux software images
> to
> clients machines over the network. Images are stored in flat files on the
> Index: debian/systemimager-initrd-template-x86_64-standard.postinst
> ===================================================================
> --- debian/systemimager-initrd-template-x86_64-standard.postinst
> (revision 4177)
> +++ debian/systemimager-initrd-template-x86_64-standard.postinst
> (working copy)
> @@ -1,8 +0,0 @@
> -#!/bin/sh
> -
> -ARCH=`uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e
> s/sa110/arm/`
> -INITRD_TEMPLATE_DIR=/usr/share/systemimager/boot/${ARCH}/standard/initrd_template
> -
> -cd ${INITRD_TEMPLATE_DIR}/dev && MAKEDEV std tty1 tty2 tty3 tty4 tty5 tty6
> -
> -#DEBHELPER#
> Index: debian/systemimager-boot-x86_64-standard.postinst
> ===================================================================
> --- debian/systemimager-boot-x86_64-standard.postinst (revision 4177)
> +++ debian/systemimager-boot-x86_64-standard.postinst (working copy)
> @@ -1,8 +0,0 @@
> -#!/bin/sh
> -if [ -e /tftpboot/kernel -o -e /tftpboot/initrd.img ]; then
> - echo
> - echo "WARNING: remember to update the kernel and initrd.img in
> /tftpboot!"
> - echo
> -fi
> -
> -#DEBHELPER#
> Index: debian/rules
> ===================================================================
> --- debian/rules (revision 4177)
> +++ debian/rules (working copy)
> @@ -24,7 +24,7 @@
> -p $(PKG)-server-flamethrowerd \
> -p $(PKG)-server-bittorrent
>
> -BOOTARCHS = alpha i386 ia64 parisc ppc64-iSeries ppc64-ps3 ppc64 ppc64ydl
> ppc x86_64
> +BOOTARCHS = alpha i386 ia64 parisc ppc64-iSeries ppc64-ps3 ppc64 ppc64ydl
> ppc amd64
>
> PATCHES=$(sort $(shell find $(CURDIR)/patches -name "*.patch"))
>
> --- /dev/null 2007-04-17 07:20:02.000000000 +0200
> +++ debian/systemimager-initrd-template-amd64-standard.postinst 2007-08-15
> 16:01:34.000000000 +0200
> @@ -0,0 +1,8 @@
> +#!/bin/sh
> +
> +ARCH=`uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e
> s/sa110/arm/`
> +INITRD_TEMPLATE_DIR=/usr/share/systemimager/boot/${ARCH}/standard/initrd_template
> +
> +cd ${INITRD_TEMPLATE_DIR}/dev && MAKEDEV std tty1 tty2 tty3 tty4 tty5 tty6
> +
> +#DEBHELPER#
> --- /dev/null 2007-04-17 07:20:02.000000000 +0200
> +++ debian/systemimager-boot-amd64-standard.postinst 2007-08-15
> 16:01:13.000000000 +0200
> @@ -0,0 +1,8 @@
> +#!/bin/sh
> +if [ -e /tftpboot/kernel -o -e /tftpboot/initrd.img ]; then
> + echo
> + echo "WARNING: remember to update the kernel and initrd.img in
> /tftpboot!"
> + echo
> +fi
> +
> +#DEBHELPER#
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> sisuite-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
--
********************************************************************
* *
* Bas van der Vlies e-mail: [EMAIL PROTECTED] *
* SARA - Academic Computing Services phone: +31 20 592 8012 *
* Kruislaan 415 fax: +31 20 6683167 *
* 1098 SJ Amsterdam *
* *
********************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users