Difference between revisions of "Debian-wheezy-revision-history"

From odroid US
Jump to: navigation, search
Line 527: Line 527:
 
Then I uploaded the image, clipped it to fit on SD-Card, compressed it, created the md5sum, extracted and compressed just the root file system, created the md5sum.
 
Then I uploaded the image, clipped it to fit on SD-Card, compressed it, created the md5sum, extracted and compressed just the root file system, created the md5sum.
  
=== debian-jessie-armel-base-7.1-odroidxu ===
+
=== debian-jessie-armel-7.1-odroidxu ===
 +
 
 +
Details on how the base was built are here: [[debian-jessie-armel-7.1 Build Notes]]
  
 
First a reminder about my images.  *.img.xz means it is a compressed multi-partition image.  You need to use xz to decompress it before writing it to SD Card.
 
First a reminder about my images.  *.img.xz means it is a compressed multi-partition image.  You need to use xz to decompress it before writing it to SD Card.

Revision as of 14:13, 11 January 2014

debian-wheezy-2

initial release

debian-wheezy-3

Added curl package, updated to kernel 3.0.57

debian-wheezy-devel-4

  • This is setup for native compiling. linux-3.0.57 is ready to build in /usr/src/linux.
  • Added prerequsites for building the kernel
  • Added sudo
  • Built and installed the kernel per this tutorial: Kernel compiling
  • odroidu2-20130205-debian-wheezy-devel

  • This is setup for native compiling.
  • A private kernel build is installed: linux-3.0.61
  • The kernel source is removed from /usr/src/ in the interest of a smaller image
  • Fixed locale setup. Added all locales.
  • Set the timezone to GMT+8 (USA Pacific)
  • Added ntpupdate package to update time from network
  • The MAC ID is chosen randomly on first boot, but stored persistently in /etc/smsc95xx_mac_addr. For example the expected file contents would be like: A6:2A:DC:0B:56:74. You can edit the file to set the MAC ID if you need a specific one.
  • Issues

    On first boot, the mac id file is not created, the root file system has not been mounted read/write at that time. Make up your own random mac id and do something like this:

    echo A6:2A:DC:0B:56:74 > /etc/smsc95xx_mac_addr
    

    You will see a message like: FATAL: Could not load /lib/modules/3.0.61/modules.dep: No such file or directory. This is not actually fatal, it is coming from the initrd -- which does not have a set of kernel modules matching the kernel, 3.0.61.

    debian-wheezy-*-6

    base

    Details on how the base was built are here: debian-wheezy-base-6 Build Notes

    • Kernel bumped to 3.0.68, a private build from Hardkernel sources using odroidu2_ubuntu_defconfig
    • The base packages provided by debootstrap are included. These are somewhat different than the previous cdebootstrap minimal flavor.
    • Persistent MACID generated. You will want to use your own random MACID (file is /etc/smsc95xx_mac_addr)
    • fstab updated to mount boot partition
    • timezone was set to USA pacific. You will want to re-run: dpkg-reconfigure tzdata
    • root is allowed to log in on the serial console (USB-UART kit)
    • boot scripts modified to load by device name instead of UUID

    base 6.1

    This is provided as a root file system image only, not as an SD-Card image

    • Installed openssh-server

    This is the dpkg selections list. See Remove Unwanted Packages under [Debian Tips] to see how this file can help you rollback your system to this previous setup.

    adduser						install
    apt						install
    apt-utils					install
    aptitude					install
    aptitude-common					install
    base-files					install
    base-passwd					install
    bash						install
    bsdmainutils					install
    bsdutils					install
    ca-certificates					install
    coreutils					install
    cpio						install
    cron						install
    curl						install
    dash						install
    debconf						install
    debconf-i18n					install
    debian-archive-keyring				install
    debianutils					install
    diffutils					install
    dpkg						install
    e2fslibs:armhf					install
    e2fsprogs					install
    findutils					install
    gcc-4.7-base:armhf				install
    gnupg						install
    gpgv						install
    grep						install
    groff-base					install
    gzip						install
    hostname					install
    ifupdown					install
    info						install
    initscripts					install
    insserv						install
    install-info					install
    iproute						install
    iptables					install
    iputils-ping					install
    isc-dhcp-client					install
    isc-dhcp-common					install
    kmod						install
    krb5-locales					install
    libacl1:armhf					install
    libapt-inst1.5:armhf				install
    libapt-pkg4.12:armhf				install
    libattr1:armhf					install
    libblkid1:armhf					install
    libboost-iostreams1.49.0			install
    libbsd0:armhf					install
    libbz2-1.0:armhf				install
    libc-bin					install
    libc6:armhf					install
    libcap2:armhf					install
    libclass-isa-perl				install
    libcomerr2:armhf				install
    libcurl3:armhf					install
    libcwidget3					install
    libdb5.1:armhf					install
    libedit2:armhf					install
    libept1.4.12					install
    libgcc1:armhf					install
    libgcrypt11:armhf				install
    libgdbm3:armhf					install
    libgnutls26:armhf				install
    libgpg-error0:armhf				install
    libgssapi-krb5-2:armhf				install
    libidn11:armhf					install
    libk5crypto3:armhf				install
    libkeyutils1:armhf				install
    libkmod2:armhf					install
    libkrb5-3:armhf					install
    libkrb5support0:armhf				install
    libldap-2.4-2:armhf				install
    liblocale-gettext-perl				install
    liblzma5:armhf					install
    libmount1					install
    libncurses5:armhf				install
    libncursesw5:armhf				install
    libnewt0.52					install
    libnfnetlink0					install
    libopts25					install
    libp11-kit0:armhf				install
    libpam-modules:armhf				install
    libpam-modules-bin				install
    libpam-runtime					install
    libpam0g:armhf					install
    libpipeline1:armhf				install
    libpopt0:armhf					install
    libprocps0:armhf				install
    libreadline6:armhf				install
    librtmp0:armhf					install
    libsasl2-2:armhf				install
    libsasl2-modules:armhf				install
    libselinux1:armhf				install
    libsemanage-common				install
    libsemanage1:armhf				install
    libsepol1:armhf					install
    libsigc++-2.0-0c2a:armhf			install
    libslang2:armhf					install
    libsqlite3-0:armhf				install
    libss2:armhf					install
    libssh2-1:armhf					install
    libssl1.0.0:armhf				install
    libstdc++6:armhf				install
    libswitch-perl					install
    libtasn1-3:armhf				install
    libtext-charwidth-perl				install
    libtext-iconv-perl				install
    libtext-wrapi18n-perl				install
    libtinfo5:armhf					install
    libudev0:armhf					install
    libusb-0.1-4:armhf				install
    libustr-1.0-1:armhf				install
    libuuid1:armhf					install
    libwrap0:armhf					install
    libx11-6:armhf					install
    libx11-data					install
    libxapian22					install
    libxau6:armhf					install
    libxcb1:armhf					install
    libxdmcp6:armhf					install
    libxext6:armhf					install
    libxmuu1:armhf					install
    login						install
    logrotate					install
    lsb-base					install
    man-db						install
    manpages					install
    mawk						install
    mount						install
    multiarch-support				install
    nano						install
    ncurses-base					install
    ncurses-bin					install
    ncurses-term					install
    net-tools					install
    netbase						install
    netcat-traditional				install
    ntp						install
    openssh-blacklist				install
    openssh-blacklist-extra				install
    openssh-client					install
    openssh-server					install
    openssl						install
    passwd						install
    perl						install
    perl-base					install
    perl-modules					install
    procps						install
    readline-common					install
    rsyslog						install
    sed						install
    sensible-utils					install
    sudo						install
    sysv-rc						install
    sysvinit					install
    sysvinit-utils					install
    tar						install
    tasksel						install
    tasksel-data					install
    tcpd						install
    traceroute					install
    tzdata						install
    u-boot-tools					install
    uboot-mkimage					install
    udev						install
    util-linux					install
    vim-common					install
    vim-tiny					install
    wget						install
    whiptail					install
    xauth						install
    xz-utils					install
    zlib1g:armhf					install
    

    gnome 6.1

    Details on how the gnome image was build is here: debian-wheezy-gnome-6 Build Notes

    • Started with debian-wheezy-base-6.1
    • Installed gnome
    • Created xorg.conf
    • Started gdm3

    xfce 6.1

    Details on how the xfce image was build is here: debian-wheezy-xfce-6 Build Notes

    • Started with debian-wheezy-base-6.1
    • Installed xfce4, xfce4-goodies, xdm and iceweasel
    • Created xorg.conf


    debian-wheezy-armel-*-6

    Notice this is armel -- not the usual armhf

    • Kernel is Hardkernel 3.0.68, a private build from Hardkernel sources using odroidu2_ubuntu_mali_defconfig

    armel-base-6.1

    • Started with an soft-float image created with cdebootstrap and a sheevaplug -- don't have detailed notes
    • Brought it up-to-date with the hardfloat image contents


    armel-xfce-6.1

    • Started with debian-wheezy-armel-base-6.1
    • Installed xfce4, xdm and iceweasel (xfce-goodies not in armel repository)
    • Created xorg.conf

    In order to login as user, you need to update Xwrapper.conf so allowed_users=anybody. You can paste this in a terminal as root:

    cat >/etc/X11/Xwrapper.config <<EOF
    # Xwrapper.config (Debian X Window System server wrapper configuration file)
    #
    # This file was generated by the post-installation script of the x11-common
    # package using values from the debconf database.
    #
    # See the Xwrapper.config(5) manual page for more information.
    #
    # This file is automatically updated on upgrades of the x11-common package
    # *only* if it has not been modified since the last upgrade of that package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command as root:
    #   dpkg-reconfigure x11-common
    allowed_users=anybody
    
    EOF
    

    debian-wheezy-*-7.1

    Details on how the base was built are here: debian-wheezy-base-6 Build Notes. Version 7 started with the same root file system as version 6.

    • Kernel bumped to 3.8.13.3, the official build from Hardkernel, extracted from their SD-Card image.
    • The base packages provided by debootstrap are included
    • Persistent MACID generated. You will want to use your own random MACID (file is /etc/smsc95xx_mac_addr)
    • fstab mounts the boot partition
    • timezone was set to USA pacific. You will want to re-run: dpkg-reconfigure tzdata
    • root is allowed to log in on the serial console (USB-UART kit)
    • boot scripts left completely alone they boot devices by UUID

    base 7.1.0

    This is provided as an SD-Card image.

    • Generally unmodified from base 6.1
    • Updated to Wheezy 7.1 using apt-get

    This is the dpkg selections list. See Remove Unwanted Packages under [Debian Tips] to see how this file can help you rollback your system to this previous setup.

    adduser						install
    apt						install
    apt-utils					install
    aptitude					install
    aptitude-common					install
    base-files					install
    base-passwd					install
    bash						install
    bsdmainutils					install
    bsdutils					install
    ca-certificates					install
    coreutils					install
    cpio						install
    cron						install
    curl						install
    dash						install
    debconf						install
    debconf-i18n					install
    debian-archive-keyring				install
    debianutils					install
    diffutils					install
    dpkg						install
    dselect						install
    e2fslibs:armhf					install
    e2fsprogs					install
    findutils					install
    gcc-4.7-base:armhf				install
    gnupg						install
    gpgv						install
    grep						install
    groff-base					install
    gzip						install
    hostname					install
    ifupdown					install
    info						install
    initscripts					install
    insserv						install
    install-info					install
    iproute						install
    iptables					install
    iputils-ping					install
    isc-dhcp-client					install
    isc-dhcp-common					install
    kmod						install
    krb5-locales					install
    libacl1:armhf					install
    libapt-inst1.5:armhf				install
    libapt-pkg4.12:armhf				install
    libattr1:armhf					install
    libblkid1:armhf					install
    libboost-iostreams1.49.0			install
    libbsd0:armhf					install
    libbz2-1.0:armhf				install
    libc-bin					install
    libc6:armhf					install
    libcap2:armhf					install
    libclass-isa-perl				install
    libcomerr2:armhf				install
    libcurl3:armhf					install
    libcwidget3					install
    libdb5.1:armhf					install
    libedit2:armhf					install
    libept1.4.12					install
    libgcc1:armhf					install
    libgcrypt11:armhf				install
    libgdbm3:armhf					install
    libgnutls26:armhf				install
    libgpg-error0:armhf				install
    libgssapi-krb5-2:armhf				install
    libidn11:armhf					install
    libk5crypto3:armhf				install
    libkeyutils1:armhf				install
    libkmod2:armhf					install
    libkrb5-3:armhf					install
    libkrb5support0:armhf				install
    libldap-2.4-2:armhf				install
    liblocale-gettext-perl				install
    liblzma5:armhf					install
    libmount1					install
    libncurses5:armhf				install
    libncursesw5:armhf				install
    libnewt0.52					install
    libnfnetlink0					install
    libopts25					install
    libp11-kit0:armhf				install
    libpam-modules:armhf				install
    libpam-modules-bin				install
    libpam-runtime					install
    libpam0g:armhf					install
    libpipeline1:armhf				install
    libpopt0:armhf					install
    libprocps0:armhf				install
    libreadline6:armhf				install
    librtmp0:armhf					install
    libsasl2-2:armhf				install
    libsasl2-modules:armhf				install
    libselinux1:armhf				install
    libsemanage-common				install
    libsemanage1:armhf				install
    libsepol1:armhf					install
    libsigc++-2.0-0c2a:armhf			install
    libslang2:armhf					install
    libsqlite3-0:armhf				install
    libss2:armhf					install
    libssh2-1:armhf					install
    libssl1.0.0:armhf				install
    libstdc++6:armhf				install
    libswitch-perl					install
    libtasn1-3:armhf				install
    libtext-charwidth-perl				install
    libtext-iconv-perl				install
    libtext-wrapi18n-perl				install
    libtinfo5:armhf					install
    libudev0:armhf					install
    libusb-0.1-4:armhf				install
    libustr-1.0-1:armhf				install
    libuuid1:armhf					install
    libwrap0:armhf					install
    libx11-6:armhf					install
    libx11-data					install
    libxapian22					install
    libxau6:armhf					install
    libxcb1:armhf					install
    libxdmcp6:armhf					install
    libxext6:armhf					install
    libxmuu1:armhf					install
    login						install
    logrotate					install
    lsb-base					install
    man-db						install
    manpages					install
    mawk						install
    mount						install
    multiarch-support				install
    nano						install
    ncurses-base					install
    ncurses-bin					install
    ncurses-term					install
    net-tools					install
    netbase						install
    netcat-traditional				install
    ntp						install
    openssh-blacklist				install
    openssh-blacklist-extra				install
    openssh-client					install
    openssh-server					install
    openssl						install
    passwd						install
    perl						install
    perl-base					install
    perl-modules					install
    procps						install
    readline-common					install
    rsyslog						install
    sed						install
    sensible-utils					install
    sudo						install
    sysv-rc						install
    sysvinit					install
    sysvinit-utils					install
    tar						install
    tasksel						install
    tasksel-data					install
    tcpd						install
    traceroute					install
    tzdata						install
    u-boot-tools					install
    uboot-mkimage					install
    udev						install
    util-linux					install
    vim-common					install
    vim-tiny					install
    wget						install
    whiptail					install
    xauth						install
    xz-utils					install
    zlib1g:armhf					install
    

    debian-wheezy-armhf-base-7.0-odroidxu

    This image set is for HardKernel's odroidxu platform -- only. The kernel is linux-3.4.5 based and the processor is Exynos 5410.

    I based this image on the official Hardkernel Debian build for odroidxu: debian_wheezy_armhf_odroidxu_20130827_HDMI.img, then I removed packages to get back to a minimal setup. This is a different approach than I used for odroidu2, where I bootstrapped using QEMU. There are some data files and configuration files left over from the precursor image.

    This image is closely related to the official build, only smaller, with a small set of packages.

    The HK kernel upgrade scheme can be applied. u-boot and the unpartitioned space are all standard.

    Basically, I used the selection list from my 6.1 build and applied it to a booted target. See "Remove Unwanted Packages" in [Debian Tips]


    Set up to remove unwanted locales:

    apt-get install localepurge
    dpkg-reconfigure localepurge
    

    Set up en_US.UTF8 locale:

    apt-get install locales
    dpkg-reconfigure locales
    
    #Add:
    #en_US.UTF8
    

    Added the following to /etc/network/interfaces (to allow eth0 to come up automatically)

    auto eth0
    iface eth0 inet dhcp
    

    Then I uploaded the image, clipped it to fit on SD-Card, compressed it, created the md5sum, extracted and compressed just the root file system, created the md5sum.

    debian-jessie-armel-7.1-odroidxu

    Details on how the base was built are here: debian-jessie-armel-7.1 Build Notes

    First a reminder about my images. *.img.xz means it is a compressed multi-partition image. You need to use xz to decompress it before writing it to SD Card.

    • .rootfs.tgz is just the root file system partition contents. Only needed to quickly get back to the original flash contents
    • .boot.tgz is just the boot partition contents. Only needed in case you wreck something and can no longer boot.
    • .md5sum are md5 checksum files you <should> use to make sure the associated file was downloaded properly.

    Look for the files here: http://odroid.us/odroid/odroidxu/debian/

  • Started with debian_jessie_armhf_odroidxu_20130927.img.* from HardKernel
  • Bootstrapped an armel system in a chroot
  • made a tarball of the chroot contents to form the basis of the armel root file system
  • Removed the armhf root file system from the media and replaced it with the contents of the armel root file system tarball
  • Copied /lib/firmware and /lib/modules from armhf RFS to the new one
  • Edited inittab to match odroid
  • Added ttySAC2 to /etc/securetty to allow root login
  • Edited /etc/inittab on host to set single user mode -- so I could log in and change login credentials from Debian defaults
  • Booted the system and set root/odroid login credential
  • Added user: odroid with password odroid
  • Setup eth0 to come up using DHCP (/etc/network/interfaces.d/eth-wan)
  • Upgraded all packages
  • Installed locales,localespurge,tree,ssh and ntp

    Selections

    Just after bootstrapping (dpkg --get-selections)

    adduser                                         install
    apt                                             install
    apt-utils                                       install
    aptitude                                        install
    aptitude-common                                 install
    base-files                                      install
    base-passwd                                     install
    bash                                            install
    bsdmainutils                                    install
    bsdutils                                        install
    coreutils                                       install
    cpio                                            install
    cron                                            install
    dash                                            install
    debconf                                         install
    debconf-i18n                                    install
    debian-archive-keyring                          install
    debianutils                                     install
    diffutils                                       install
    dpkg                                            install
    e2fslibs:armel                                  install
    e2fsprogs                                       install
    findutils                                       install
    gcc-4.7-base:armel                              install
    gcc-4.8-base:armel                              install
    gnupg                                           install
    gpgv                                            install
    grep                                            install
    groff-base                                      install
    gzip                                            install
    hostname                                        install
    ifupdown                                        install
    info                                            install
    init-system-helpers                             install
    initscripts                                     install
    insserv                                         install
    install-info                                    install
    iproute                                         install
    iproute2                                        install
    iptables                                        install
    iputils-ping                                    install
    isc-dhcp-client                                 install
    isc-dhcp-common                                 install
    kmod                                            install
    libacl1:armel                                   install
    libapt-inst1.5:armel                            install
    libapt-pkg4.12:armel                            install
    libattr1:armel                                  install
    libaudit-common                                 install
    libaudit1:armel                                 install
    libblkid1:armel                                 install
    libboost-iostreams1.49.0                        install
    libboost-iostreams1.53.0                        install
    libboost-iostreams1.54.0:armel                  install
    libbz2-1.0:armel                                install
    libc-bin                                        install
    libc6:armel                                     install
    libcap2:armel                                   install
    libcomerr2:armel                                install
    libcwidget3                                     install
    libdb5.1:armel                                  install
    libee0                                          install
    libept1.4.12:armel                              install
    libestr0                                        install
    libffi6:armel                                   install
    libgcc1:armel                                   install
    libgcrypt11:armel                               install
    libgdbm3:armel                                  install
    libgmp10:armel                                  install
    libgnutls-openssl27:armel                       install
    libgnutls26:armel                               install
    libgnutls28:armel                               install
    libgpg-error0:armel                             install
    libhogweed2:armel                               install
    libidn11:armel                                  install
    libjson-c2:armel                                install
    libkmod2:armel                                  install
    liblocale-gettext-perl                          install
    liblognorm0                                     install
    liblzma5:armel                                  install
    libmnl0:armel                                   install
    libmount1                                       install
    libncurses5:armel                               install
    libncursesw5:armel                              install
    libnetfilter-acct1:armel                        install
    libnettle4:armel                                install
    libnewt0.52:armel                               install
    libnfnetlink0:armel                             install
    libp11-kit0:armel                               install
    libpam-modules:armel                            install
    libpam-modules-bin                              install
    libpam-runtime                                  install
    libpam0g:armel                                  install
    libpcre3:armel                                  install
    libpipeline1:armel                              install
    libpopt0:armel                                  install
    libprocps0:armel                                install
    libreadline6:armel                              install
    libselinux1:armel                               install
    libsemanage-common                              install
    libsemanage1:armel                              install
    libsepol1:armel                                 install
    libsigc++-2.0-0c2a:armel                        install
    libslang2:armel                                 install
    libsqlite3-0:armel                              install
    libss2:armel                                    install
    libssl1.0.0:armel                               install
    libstdc++6:armel                                install
    libtasn1-3:armel                                install
    libtasn1-6:armel                                install
    libtext-charwidth-perl                          install
    libtext-iconv-perl                              install
    libtext-wrapi18n-perl                           install
    libtinfo5:armel                                 install
    libudev1:armel                                  install
    libusb-0.1-4:armel                              install
    libustr-1.0-1:armel                             install
    libuuid1:armel                                  install
    libxapian22                                     install
    libxtables10                                    install
    login                                           install
    logrotate                                       install
    lsb-base                                        install
    man-db                                          install
    manpages                                        install
    mawk                                            install
    mount                                           install
    multiarch-support                               install
    nano                                            install
    ncurses-base                                    install
    ncurses-bin                                     install
    net-tools                                       install
    netbase                                         install
    netcat-traditional                              install
    nfacct                                          install
    passwd                                          install
    perl                                            install
    perl-base                                       install
    perl-modules                                    install
    procps                                          install
    readline-common                                 install
    rsyslog                                         install
    sed                                             install
    sensible-utils                                  install
    sysv-rc                                         install
    sysvinit                                        install
    sysvinit-utils                                  install
    tar                                             install
    tasksel                                         install
    tasksel-data                                    install
    traceroute                                      install
    tzdata                                          install
    udev                                            install
    util-linux                                      install
    vim-common                                      install
    vim-tiny                                        install
    wget                                            install
    whiptail                                        install
    zlib1g:armel                                    install
    

    After installing some packages and their dependents:

    adduser                                         install
    apt                                             install
    apt-utils                                       install
    aptitude                                        install
    aptitude-common                                 install
    axel                                            install
    base-files                                      install
    base-passwd                                     install
    bash                                            install
    bsdmainutils                                    install
    bsdutils                                        install
    coreutils                                       install
    cpio                                            install
    cron                                            install
    dash                                            install
    debconf                                         install
    debconf-i18n                                    install
    debian-archive-keyring                          install
    debianutils                                     install
    diffutils                                       install
    dpkg                                            install
    e2fslibs:armel                                  install
    e2fsprogs                                       install
    findutils                                       install
    gcc-4.7-base:armel                              install
    gcc-4.8-base:armel                              install
    gnupg                                           install
    gpgv                                            install
    grep                                            install
    groff-base                                      install
    gzip                                            install
    hostname                                        install
    ifupdown                                        install
    info                                            install
    init-system-helpers                             install
    initscripts                                     install
    insserv                                         install
    install-info                                    install
    iproute                                         install
    iproute2                                        install
    iptables                                        install
    iputils-ping                                    install
    isc-dhcp-client                                 install
    isc-dhcp-common                                 install
    kmod                                            install
    krb5-locales                                    install
    libacl1:armel                                   install
    libapt-inst1.5:armel                            install
    libapt-pkg4.12:armel                            install
    libattr1:armel                                  install
    libaudit-common                                 install
    libaudit1:armel                                 install
    libblkid1:armel                                 install
    libboost-iostreams1.49.0                        install
    libboost-iostreams1.53.0                        install
    libboost-iostreams1.54.0:armel                  install
    libbsd0:armel                                   install
    libbz2-1.0:armel                                install
    libc-bin                                        install
    libc6:armel                                     install
    libcap2:armel                                   install
    libcomerr2:armel                                install
    libcwidget3                                     install
    libdb5.1:armel                                  install
    libedit2:armel                                  install
    libee0                                          install
    libept1.4.12:armel                              install
    libestr0                                        install
    libffi6:armel                                   install
    libgcc1:armel                                   install
    libgcrypt11:armel                               install
    libgdbm3:armel                                  install
    libgmp10:armel                                  install
    libgnutls-openssl27:armel                       install
    libgnutls26:armel                               install
    libgnutls28:armel                               install
    libgpg-error0:armel                             install
    libgssapi-krb5-2:armel                          install
    libhogweed2:armel                               install
    libidn11:armel                                  install
    libjson-c2:armel                                install
    libk5crypto3:armel                              install
    libkeyutils1:armel                              install
    libkmod2:armel                                  install
    libkrb5-3:armel                                 install
    libkrb5support0:armel                           install
    liblocale-gettext-perl                          install
    liblognorm0                                     install
    liblzma5:armel                                  install
    libmnl0:armel                                   install
    libmount1                                       install
    libncurses5:armel                               install
    libncursesw5:armel                              install
    libnetfilter-acct1:armel                        install
    libnettle4:armel                                install
    libnewt0.52:armel                               install
    libnfnetlink0:armel                             install
    libopts25:armel                                 install
    libp11-kit0:armel                               install
    libpam-modules:armel                            install
    libpam-modules-bin                              install
    libpam-runtime                                  install
    libpam0g:armel                                  install
    libpcre3:armel                                  install
    libpipeline1:armel                              install
    libpopt0:armel                                  install
    libprocps0:armel                                install
    libreadline6:armel                              install
    libselinux1:armel                               install
    libsemanage-common                              install
    libsemanage1:armel                              install
    libsepol1:armel                                 install
    libsigc++-2.0-0c2a:armel                        install
    libslang2:armel                                 install
    libsqlite3-0:armel                              install
    libss2:armel                                    install
    libssl1.0.0:armel                               install
    libstdc++6:armel                                install
    libtasn1-3:armel                                install
    libtasn1-6:armel                                install
    libtext-charwidth-perl                          install
    libtext-iconv-perl                              install
    libtext-wrapi18n-perl                           install
    libtinfo5:armel                                 install
    libudev1:armel                                  install
    libusb-0.1-4:armel                              install
    libustr-1.0-1:armel                             install
    libuuid1:armel                                  install
    libwrap0:armel                                  install
    libx11-6:armel                                  install
    libx11-data                                     install
    libxapian22                                     install
    libxau6:armel                                   install
    libxcb1:armel                                   install
    libxdmcp6:armel                                 install
    libxext6:armel                                  install
    libxmuu1:armel                                  install
    libxtables10                                    install
    localepurge                                     install
    locales                                         install
    login                                           install
    logrotate                                       install
    lsb-base                                        install
    man-db                                          install
    manpages                                        install
    mawk                                            install
    mount                                           install
    multiarch-support                               install
    nano                                            install
    ncurses-base                                    install
    ncurses-bin                                     install
    ncurses-term                                    install
    net-tools                                       install
    netbase                                         install
    netcat-traditional                              install
    nfacct                                          install
    ntp                                             install
    openssh-client                                  install
    openssh-server                                  install
    passwd                                          install
    perl                                            install
    perl-base                                       install
    perl-modules                                    install
    procps                                          install
    readline-common                                 install
    rsyslog                                         install
    sed                                             install
    sensible-utils                                  install
    ssh                                             install
    sysv-rc                                         install
    sysvinit                                        install
    sysvinit-utils                                  install
    tar                                             install
    tasksel                                         install
    tasksel-data                                    install
    tcpd                                            install
    traceroute                                      install
    tree                                            install
    tzdata                                          install
    u-boot-tools                                    install
    ucf                                             install
    udev                                            install
    util-linux                                      install
    vim-common                                      install
    vim-tiny                                        install
    wget                                            install
    whiptail                                        install
    xauth                                           install
    xz-utils                                        install
    zlib1g:armel                                    install
    
    Setup kernel-update

    This topic is under development -- there may be bugs that can wreck your SD Card contents...

    On the target, at Linux console prompt as root

    # Install prerequisites for the kernel updater script:
    apt-get install axel xz-utils u-boot-tools 
    
    # Get the latest version of the kernel updater script from HK
    wget http://builder.mdrjr.net/tools/kernel-update.sh
    chmod +x kernel-update.sh
    
    # pretend the image is really a standard hardkernel Debian:
    # Do not do this if you are not using specifically Debian.  
    # ubuntu has its own flag file...
    touch /etc/hk-debian
    
    # Very important to drop kernel-update.sh at the top of the tree
    # and run it from there otherwise it certainly screw up your setup
    cd /
    wget http://builder.mdrjr.net/tools/kernel-update.sh
    chmod +x kernel-update.sh
    # We're not actually going to run the script yet...
    # ./kernel-update.sh
    
    
  • Setup /boot mountpoint
    # add this to /etc/rc.local
    # Mount the boot partition     
    mount /dev/mmcblk0p1 /boot