Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8708b22f authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: root permission needed


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 2e52c686
No related merge requests found
......@@ -149,7 +149,7 @@ if [ "x${chroot_very_small_image}" = "xenable" ] ; then
sudo rm -rf ${tempdir}/usr/share/doc/* || true
#dpkg 1.15.8++, No Docs...
mkdir -p ${tempdir}/etc/dpkg/dpkg.cfg.d/
sudo mkdir -p ${tempdir}/etc/dpkg/dpkg.cfg.d/ || true
echo "# Delete locales" > /tmp/01_nodoc
echo "path-exclude=/usr/share/locale/*" >> /tmp/01_nodoc
echo "path-include=/usr/share/locale/en*" >> /tmp/01_nodoc
......@@ -172,6 +172,7 @@ if [ "x${chroot_very_small_image}" = "xenable" ] ; then
fi
#generic apt.conf tweaks for flash/mmc devices to save on wasted space...
sudo mkdir -p ${tempdir}/etc/apt/apt.conf.d/ || true
#apt: no local cache
echo "Dir::Cache {" > /tmp/02nocache
echo " srcpkgcache \"\";" >> /tmp/02nocache
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment