% sudo /etc/init.d/approx restart
4. follow README, but during the creation of the root filesystem, add
-the --mirror option, like this:
+the --local-apt-mirror option, like this:
sudo ./initchroot.sh \
--package-list kde.packages \
- --local-apt-mirror "deb http://localhost:9999/debian lenny main contrib non-free
+ --local-apt-mirror \
+"deb http://localhost:9999/debian lenny main contrib non-free
deb http://localhost:9999/security lenny/updates main contrib non-free" \
kde.root
-
echo "${DEFUSER} ALL=(ALL) NOPASSWD: ALL" >> ${ROOT_DIR}/etc/sudoers
# add local network interface
-cat >>${ROOT_DIR}/etc/network/interfaces<<EOF
-
+cat <<EOF >> ${ROOT_DIR}/etc/network/interfaces
auto lo
iface lo inet loopback
EOF
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# see the update-nand format definition
+# http://wiki.laptop.org/go/OFW_NAND_FLASH_Updater
+
. functions.sh
usage()