== To build a .deb package for Arm/qemu (obsolote, check README.md) ==

  1. start qemu

    # (cd /misc/virtual/arm; qemu-system-arm -nographic -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda hda.img -append "root=/dev/sda1" -redir tcp:2222::22)

    # (cd /misc/virtual/arm; qemu-system-arm -nographic -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -hda hda.img -append "root=/dev/sda1" -nic user,hostfwd=tcp::2222-:22)
    
  2. proceed as for maemo
     
    # cd $HOME
    # /users/serrano/prgm/project/bigloo/arch/debian/makedeb.sh -p 2222


== To build a Debian/Ubuntu (2019-11-16) ==

  1. start qemu

    # qemu-system-arm -nographic -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -append "root=/dev/sda2" -hda 2012-12-16-wheezy-raspbian.img -nic user,hostfwd=tcp::2022-:22

  2. run the script

    # makedeb.sh -p 2022
    # makedeb.sh --user mserrano --host pipol20.inrialpes.fr --install-debian-packages
    # makedeb.sh --host fitpc2


== To build a .deb package for Maemo == 

 1. start mameo et chroot:

    # sudo /mpeg/maemo/scratchbox/sbin/sbox_ctl start
    # /mpeg/maemo/scratchbox/login

 2. run the bigloo/arch/debian/makedeb.sh (which generate files inside
    dans ~/prgm/distrib/maemo)

    It is not needed to create a build directory in (chrooted) $HOME because
    the shell script starts creating a bigloo-build directory into which
    all files are copied.

    # cd $HOME
    # /users/serrano/prgm/project/bigloo/arch/debian/makedeb.sh



