__________________________________________________________________________________________
PAC-4010 User Manual V1.0 Copyright 2016 Advantech Co. Ltd. All rights reserved. Page
74
5.2 Live System Configuration
The Debian Live system is a collection of scripts that, in build time, download official
packages from Debian main section to construct the firmware image for i386 or x86_64
architecture target. The scripts are separated into three parts:
live-build:
scripts used to build customized Debian Live system
live-boot:
scripts used in early boot phase via the hooker of initramfs
live-config:
scripts used in rest boot process after live-boot.
The details of all parameters of Debian Live system is out of the scope of this
document. Please reference the manual page of
“lb_config”, “live-boot”,
and
“live-config”
as well as the user guide from the web site
http://live.debian.net/manual/3.x/
Powered by Debian’s rich package support, it is easy to add new package by updating
the configuration file without bothering to build each package from scratch for most of
cases. Below is the configuration file of Debian Live system for PAC-4010 LMP OS.
Table 5-3: Live System Configuration
#!/bin/sh
lb config noauto \
--distribution wheezy \
--architecture amd64 \
--binary-images hdd \
--bootloader syslinux \
--bootappend-live "boot=live config live-getty persistence
noeject nopat ip=frommedia console=ttyS1,115200n81
acpi_enforce_resources=lax pcie_aspm=off quiet" \
--linux-packages linux-image-3.12-0.bpo.1 \
--backports true \
--mirror-bootstrap
ftp://debian.csie.ntu.edu.tw/pub/debian/ \
--mirror-chroot ftp://debian.csie.ntu.edu.tw/pub/debian/ \
--mirror-chroot-security
ftp://debian.csie.ntu.edu.tw/pub/debian-security/ \
--mirror-binary ftp://debian.csie.ntu.edu.tw/pub/debian/ \
--mirror-binary-security
ftp://debian.csie.ntu.edu.tw/pub/debian-security/ \"${@}"
Except for Debian default installed packages, the extra packages are listed in
“<workspace>/config/ package-lists/choosing_packages.list.chroot”
. See below
table for the details.
Table 5-4: Live System Package List
openipmi pciutils less memtester dmidecode bridge-utils
i2c-tools lm-sensors usbutils ipmitool
openssh-server strace tree acpi-support ethtool acpidump
acpi acpitool tcpdump ncurses-term lrzsz screen tshark
irqbalance iasl setserial expect ntpdate vim hdparm bzip2 unzip
python file tftp ifenslave-2.6 mcelog libftdi-dev
Summary of Contents for PAC-4010
Page 2: ......