# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0 # <partition size in MB>
LABEL=DebXO / ext3 errors=remount-ro 0 1 # 1024
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
proc /proc proc defaults 0 0 # <partition size in MB>
mtd:boot /boot jffs2 defaults,noatime 1 1 # 50
ubi:root / ubifs defaults,noatime 1 1
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
# OFW needs this to boot w/ partitions
ln -s . ${ROOT_DIR}/boot/boot
- # Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
- # (see <http://bugs.debian.org/314334>).
- mkdir ${ROOT_DIR}/var/cache/apt/cache
- mount -t tmpfs tmpfs ${ROOT_DIR}/var/cache/apt/cache
- # XOs are slow and small; don't use pdiffs, don't install recommends, and
- # work around lack of mmap.
+ # XOs are slow and small; don't use pdiffs and don't install recommends
cat >${ROOT_DIR}/etc/apt/apt.conf<<EOF
Acquire::Pdiffs "false";
APT::Install-Recommends "false";
-Dir {
- Cache "var/cache/apt/" {
- srcpkgcache "cache/srcpkgcache.bin";
- pkgcache "cache/pkgcache.bin";
- };
-};
EOF
}
# Any customizations that need to be made after the chroot creation is
# complete should be put here. $ROOT_DIR should be prefixed to any
# paths.
-
- umount ${ROOT_DIR}/var/cache/apt/cache
}
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0 # <partition size in MB>
LABEL=DebXO / ext3 errors=remount-ro 0 1 # 1024
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
proc /proc proc defaults 0 0 # <partition size in MB>
mtd:boot /boot jffs2 defaults,noatime 1 1 # 50
ubi:root / ubifs defaults,noatime 1 1
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
# OFW needs this to boot w/ partitions
ln -s . ${ROOT_DIR}/boot/boot
- # Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
- # (see <http://bugs.debian.org/314334>).
- mkdir ${ROOT_DIR}/var/cache/apt/cache
- mount -t tmpfs tmpfs ${ROOT_DIR}/var/cache/apt/cache
- # XOs are slow and small; don't use pdiffs, don't install recommends, and
- # work around lack of mmap.
+ # XOs are slow and small; don't use pdiffs and don't install recommends
cat >${ROOT_DIR}/etc/apt/apt.conf<<EOF
Acquire::Pdiffs "false";
APT::Install-Recommends "false";
-Dir {
- Cache "var/cache/apt/" {
- srcpkgcache "cache/srcpkgcache.bin";
- pkgcache "cache/pkgcache.bin";
- };
-};
EOF
}
# Any customizations that need to be made after the chroot creation is
# complete should be put here. $ROOT_DIR should be prefixed to any
# paths.
-
- umount ${ROOT_DIR}/var/cache/apt/cache
}
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0 # <partition size in MB>
LABEL=DebXO / ext3 errors=remount-ro 0 1 # 1024
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
proc /proc proc defaults 0 0 # <partition size in MB>
mtd:boot /boot jffs2 defaults,noatime 1 1 # 50
ubi:root / ubifs defaults,noatime 1 1
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
# OFW needs this to boot w/ partitions
ln -s . ${ROOT_DIR}/boot/boot
- # Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
- # (see <http://bugs.debian.org/314334>).
- mkdir ${ROOT_DIR}/var/cache/apt/cache
- mount -t tmpfs tmpfs ${ROOT_DIR}/var/cache/apt/cache
- # XOs are slow and small; don't use pdiffs, don't install recommends, and
- # work around lack of mmap.
+ # XOs are slow and small; don't use pdiffs and don't install recommends
cat >${ROOT_DIR}/etc/apt/apt.conf<<EOF
Acquire::Pdiffs "false";
APT::Install-Recommends "false";
-Dir {
- Cache "var/cache/apt/" {
- srcpkgcache "cache/srcpkgcache.bin";
- pkgcache "cache/pkgcache.bin";
- };
-};
EOF
}
# Any customizations that need to be made after the chroot creation is
# complete should be put here. $ROOT_DIR should be prefixed to any
# paths.
-
- umount ${ROOT_DIR}/var/cache/apt/cache
}
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0 # <partition size in MB>
LABEL=DebXO / ext3 errors=remount-ro 0 1 # 1024
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
proc /proc proc defaults 0 0 # <partition size in MB>
mtd:boot /boot jffs2 defaults,noatime 1 1 # 50
ubi:root / ubifs defaults,noatime 1 1
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
# OFW needs this to boot w/ partitions
ln -s . ${ROOT_DIR}/boot/boot
- # Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
- # (see <http://bugs.debian.org/314334>).
- mkdir ${ROOT_DIR}/var/cache/apt/cache
- mount -t tmpfs tmpfs ${ROOT_DIR}/var/cache/apt/cache
- # XOs are slow and small; don't use pdiffs, don't install recommends, and
- # work around lack of mmap.
+ # XOs are slow and small; don't use pdiffs and don't install recommends
cat >${ROOT_DIR}/etc/apt/apt.conf<<EOF
Acquire::Pdiffs "false";
APT::Install-Recommends "false";
-Dir {
- Cache "var/cache/apt/" {
- srcpkgcache "cache/srcpkgcache.bin";
- pkgcache "cache/pkgcache.bin";
- };
-};
EOF
}
# Any customizations that need to be made after the chroot creation is
# complete should be put here. $ROOT_DIR should be prefixed to any
# paths.
-
- umount ${ROOT_DIR}/var/cache/apt/cache
}
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0 # <partition size in MB>
LABEL=DebXO / ext3 errors=remount-ro 0 1 # 1024
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
proc /proc proc defaults 0 0 # <partition size in MB>
mtd:boot /boot jffs2 defaults,noatime 1 1 # 50
ubi:root / ubifs defaults,noatime 1 1
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
# OFW needs this to boot w/ partitions
ln -s . ${ROOT_DIR}/boot/boot
- # Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
- # (see <http://bugs.debian.org/314334>).
- mkdir ${ROOT_DIR}/var/cache/apt/cache
- mount -t tmpfs tmpfs ${ROOT_DIR}/var/cache/apt/cache
- # XOs are slow and small; don't use pdiffs, don't install recommends, and
- # work around lack of mmap.
+ # XOs are slow and small; don't use pdiffs and don't install recommends
cat >${ROOT_DIR}/etc/apt/apt.conf<<EOF
Acquire::Pdiffs "false";
APT::Install-Recommends "false";
-Dir {
- Cache "var/cache/apt/" {
- srcpkgcache "cache/srcpkgcache.bin";
- pkgcache "cache/pkgcache.bin";
- };
-};
EOF
}
# Any customizations that need to be made after the chroot creation is
# complete should be put here. $ROOT_DIR should be prefixed to any
# paths.
-
- umount ${ROOT_DIR}/var/cache/apt/cache
}
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0 # <partition size in MB>
LABEL=DebXO / ext3 errors=remount-ro 0 1 # 1024
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
proc /proc proc defaults 0 0 # <partition size in MB>
mtd:boot /boot jffs2 defaults,noatime 1 1 # 50
ubi:root / ubifs defaults,noatime 1 1
-tmpfs /var/cache/apt/cache tmpfs defaults 0 0
# OFW needs this to boot w/ partitions
ln -s . ${ROOT_DIR}/boot/boot
- # Apt can't deal w/ jffs2's lack of mmap, so we keep apt's cache on tmpfs
- # (see <http://bugs.debian.org/314334>).
- mkdir ${ROOT_DIR}/var/cache/apt/cache
- mount -t tmpfs tmpfs ${ROOT_DIR}/var/cache/apt/cache
- # XOs are slow and small; don't use pdiffs, don't install recommends, and
- # work around lack of mmap.
+ # XOs are slow and small; don't use pdiffs and don't install recommends
cat >${ROOT_DIR}/etc/apt/apt.conf<<EOF
Acquire::Pdiffs "false";
APT::Install-Recommends "false";
-Dir {
- Cache "var/cache/apt/" {
- srcpkgcache "cache/srcpkgcache.bin";
- pkgcache "cache/pkgcache.bin";
- };
-};
EOF
}
# Any customizations that need to be made after the chroot creation is
# complete should be put here. $ROOT_DIR should be prefixed to any
# paths.
-
- umount ${ROOT_DIR}/var/cache/apt/cache
}