Trying to package Appweb 2.1.0
Hi.
We've been trying to package Appweb 2.1.0. This package works (We haven't thought of PHP5).
We tried to get rid of /usr/mime.types in the commented code that follows but we could not.
#FILES_${PN} += " /etc/appWeb/appWeb.conf /etc/appWeb/mime.types" FILES_${PN} += " /usr/appWeb.conf /usr/mime.types"
do_install () {
oe_runmake 'ROOT_DIR=${D}' install-all# How do we do this?
#mkdir ${D}/etc/appWeb
#cp ${D}/usr/appWeb.conf ${D}/etc/appWeb/
#cp ${D}/usr/mime.types ${D}/etc/appWeb/
}
How do we do that?
Those are the errors we get:
!!! Failed to move ./etc/appWeb to /mnt/emqbit1/oe/tmp/work/armv4t-angstrom-linux-gnueabi/appweb-2.1.0-r0/install/appweb/./etc/appWeb !!! [Errno 39] Directory not empty
NOTE: Task failed: File population failed
And we always get these and it seems they don't hurt.
FATAL: arm-angstrom-linux-gnueabi-strip /mnt/emqbit1/oe/tmp/work/armv4t-angstrom-linux-gnueabi/appweb-2.1.0-r0/image/usr/sbin/httpComp:
command failed
FATAL: arm-angstrom-linux-gnueabi-strip /mnt/emqbit1/oe/tmp/work/armv4t-angstrom-linux-gnueabi/appweb-2.1.0-r0/image/usr/sbin/httpPassword:
command failed
Regards,
Nelson.-
Signature · 2 lines
http://arhuaco.org http://emQbit.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nelson Castillo schreef:
Quoted 10 lines
Hi.
We've been trying to package Appweb 2.1.0. This package works (We haven't thought of PHP5).
We tried to get rid of
/usr/mime.typesin the commented code that follows but we could not.#FILES_${PN} += "
/etc/appWeb/appWeb.conf/etc/appWeb/mime.types" FILES_${PN} += "/usr/appWeb.conf/usr/mime.types"
/etc (or rather ${sysconfdir}) always gets includes, so you need to override FILES_${PN} ('=') instead of appending to it ('+=').
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFF2MMBMkyGM64RGpERAj2WAKCaIJjJKJiObVDVBoNifK+gnz17YACgklt5 7e6iiJ1pwUMJ8+vCIL/6PWo=
=TIdH
-----END PGP SIGNATURE-----
Quoted 9 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Nelson Castillo schreef:
Quoted 5 lines
Hi.
We've been trying to package Appweb 2.1.0. This package works (We haven't thought of PHP5).
Quoted 8 lines
Quoted 5 lines
We tried to get rid of
/usr/mime.typesin the commented code that follows but we could not.#FILES_${PN} += "
/etc/appWeb/appWeb.conf/etc/appWeb/mime.types" FILES_${PN} += "/usr/appWeb.conf/usr/mime.types"/etc (or rather ${sysconfdir}) always gets includes, so you need to override FILES_${PN} ('=') instead of appending to it ('+=').
Koen. This did not work.
BTW, when I remove the package it seems to do a "rm /var/www/*". Nasty!
NOTE: the following files were installed but not shipped in any package: NOTE: /etc/rc0.d/K15appWeb NOTE: /etc/rc1.d/K15appWeb NOTE: /etc/rc2.d/K15appWeb NOTE: /etc/rc3.d/K15appWeb NOTE: /etc/rc4.d/K15appWeb NOTE: /etc/rc5.d/S81appWeb NOTE: /etc/rc6.d/K15appWeb NOTE: /etc/init.d/appWeb NOTE: /var/www/upload.html NOTE: /var/www/test.esp NOTE: /var/www/index.html NOTE: /var/www/inc.js NOTE: /var/www/upload.esp NOTE: /var/www/features.esp NOTE: /var/www/inc.esp NOTE: /var/www/simple.esp NOTE: /usr/COPYRIGHT.TXT NOTE: /usr/LICENSE.TXT NOTE: /usr/README.TXT NOTE: /usr/appWeb.bmp NOTE: /usr/appWeb.ico NOTE: /usr/remove NOTE: /usr/groups.db NOTE: /usr/users.db NOTE: /usr/install NOTE: /usr/appWeb.conf NOTE: /usr/mime.types NOTE: /usr/bin/libdirModule.so NOTE: /usr/bin/libputModule.so NOTE: /usr/bin/libcgiModule.so NOTE: /usr/bin/libappWeb.so.1 NOTE: /usr/bin/libegiModule.so NOTE: /usr/bin/libcopyModule.so NOTE: /usr/bin/libadminModule.so NOTE: /usr/bin/libauthModule.so NOTE: /usr/bin/libcapiModule.so NOTE: /usr/lib/libappWeb.so.1 NOTE: /usr/lib/libappWeb.so.1.0.0 NOTE: /usr/sbin/httpClient NOTE: /usr/sbin/httpComp NOTE: /usr/sbin/appWeb NOTE: /usr/sbin/httpPassword
Regards,
Nelson.-
Signature · 2 lines
http://arhuaco.org http://emQbit.com