Kuliax

GNU/Linux untuk Kampus

Alat Pengguna

Alat Situs


devel:conf:2009

Kuliax MicroConf 2009

Catatan 2009

Agenda

Setup Devel Server

  • apt-get install live-helper1)
  • apt-get install mercurial sudo apache2-server
  • apt-get install subversion git-svn
  • adduser stwn
  • visudo
  • set user.conf apache2

Hacking Sprint

Python-FLL

  • svn checkout svn:svn.berlios.de/fullstory/python-fll/trunk python-fll * cd python-fll/ * ./setup.py build * dpkg-buildpackage ==== PyFLL ==== * apt-get install subversion * svn checkout svn:svn.berlios.de/fullstory/pyfll/trunk pyfll
  • cd pyfll/
  • vim README
  • vim fll.conf
  • Error message
    ./fll --help
    Traceback (most recent call last):
      File "/home/stwn/pyfll/pyfll", line 7, in <module>
        from configobj import ConfigObj
    ImportError: No module named configobj
    ./fll --help
    Traceback (most recent call last):
      File "/home/stwn/pyfll/pyfll", line 9, in <module>
        from fll.locales import FllLocales, FllLocalesError
    ImportError: No module named fll.locales

    Get python-fll and make sure it installed properly.

  • vim packages/packages.d/distro
  • vim packages/packages.d/essential
  • sudo ./fll -c fll.conf -b /devel/tmp/fll -o /devel/tmp/iso
  • Error message
    2009-03-14 15:19:23,154 INFO  - reading configuration file...
    2009-03-14 15:19:23,219 INFO  - No key for signing ISO hashes!
    2009-03-14 15:19:23,221 INFO  - processing package profile (kde-lite)...
    2009-03-14 15:19:23,291 INFO  - bootstrapping debian i386...
    2009-03-14 15:19:23,349 ERROR - problem executing command: cdebootstrap --arch=i386 --include=apt-utils --flavour=minimal sid /home/stwn/tmp/strg/tmp/fll/fll_itnSab/i386 http://ftp.de.debian.org/debian/
    Traceback (most recent call last):
      File "/home/stwn/pyfll/pyfll", line 708, in __exec
        retv = call(cmd, env = self.env, close_fds = True)
      File "/usr/lib/python2.5/subprocess.py", line 444, in call
        return Popen(*popenargs, **kwargs).wait()
      File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
        errread, errwrite)
      File "/usr/lib/python2.5/subprocess.py", line 1149, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory
    2009-03-14 15:19:23,352 INFO  - cleaning up...

    Change to debootstrap in fll.conf

  • Error message
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      atl2-modules-2.6-686: Depends: atl2-modules-2.6.26-1-686 but it is not going to be installed
      aufs-modules-2.6-686: Depends: aufs-modules-2.6.26-1-686 but it is not going to be installed
      drbd8-modules-2.6-686: Depends: drbd8-modules-2.6.26-1-686 but it is not going to be installed
      et131x-modules-2.6-686: Depends: et131x-modules-2.6.26-1-686 but it is not going to be installed
      gspca-modules-2.6-686: Depends: gspca-modules-2.6.26-1-686 but it is not going to be installed
      iscsitarget-modules-2.6-686: Depends: iscsitarget-modules-2.6.26-1-686 but it is not going to be installed
      linux-headers-2.6-686: Depends: linux-headers-2.6.26-1-686 but it is not installable
      linux-image-2.6-686: Depends: linux-image-2.6.26-1-686 but it is not installable
      loop-aes-modules-2.6-686: Depends: loop-aes-modules-2.6.26-1-686 but it is not going to be installed
      lzma-modules-2.6-686: Depends: lzma-modules-2.6.26-1-686 but it is not going to be installed
      nilfs2-modules-2.6-686: Depends: nilfs2-modules-2.6.26-1-686 but it is not going to be installed
      redhat-cluster-modules-2.6-686: Depends: redhat-cluster-modules-2.6.26-1-686 but it is not going to be installed
      speakup-modules-2.6-686: Depends: speakup-modules-2.6.26-1-686 but it is not going to be installed
      squashfs-modules-2.6-686: Depends: squashfs-modules-2.6.26-1-686 but it is not going to be installed
      tp-smapi-modules-2.6-686: Depends: tp-smapi-modules-2.6.26-1-686 but it is not going to be installed
      virtualbox-ose-guest-modules-2.6-686: Depends: virtualbox-ose-guest-modules-2.6.26-1-686 but it is not going to be installed
      virtualbox-ose-modules-2.6-686: Depends: virtualbox-ose-modules-2.6.26-1-686 but it is not going to be installed
    E: Broken packages
    2009-03-14 15:23:11,119 CRITICAL - command failed with return value: 100
    2009-03-14 15:23:11,125 INFO  - cleaning up...

    Uncomment kernel section in fll.conf

  • qemu -cdrom /home/stwn/tmp/strg/tmp/Kuliax-snapshot-minimal-i386-200903140740.iso

install-gui

cd sidux/pool/main/i/install-gui/
tar zxvf install-gui_0.7.2.tar.gz
cd install-gui-0.7.2/
vim debian/
vim debian/control

fll-installer

cd sidux/pool/main/f/fll-installer/
tar zxvf fll-installer_0.4.46.tar.gz
cd fll-installer-0.4.46/
vim fll-installer
vim data/exclusion_list
vim modules/initialization.bm
vim modules/common/load_config.bm
vim modules/backend/main.bm
vim modules/backend/convert_live2HD.bm
vim debian/control
dpkg-buildpackage
cp ../fll-installer_0.4.46_all.deb /devel/live/kuliax-testing/config/chroot_local-packages/

sidux-scripts

cd sidux/pool/main/s/sidux-scripts/
tar zxvf sidux-scripts_0.2.22.tar.gz
cd sidux-scripts-0.2.22/
vim debian/control
vim fw-detect
vim burniso
vim fix-dpi-kdm
dpkg-buildpackage

fll-live-initramfs

cd sidux/pool/main/f/fll-live-initramfs/
tar zxvf fll-live-initramfs_2.1.21.tar.gz
cd fll-live-initramfs-2.1.21/
vim debian/control
vim scripts/fll
vim hooks/fll

fll-live-initscripts

cd sidux/pool/main/f/fll-live-initscripts/
tar zxvf fll-live-initscripts_3.4.8.tar.gz
cd fll-live-initscripts-3.4.8/
vim fll
vim bin/fll_xserver_discover.c
vim bin/fll_analyze_initscripts
debian/control
1)
binutils debootstrap live-helper
devel/conf/2009.txt ยท Terakhir diubah: 2010/04/11 17:40 oleh stwn