[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#869379: Images created without pulling in from 'updates' and 'security' repos



On Sat, Jul 22, 2017 at 09:43:40PM +0100, Phil Wyett wrote:
> Images created without pulling in from 'updates' and 'security' repos.
> 
> This leaves images very out of date. Images should have all the latest
> packages.

In linuxcnc's stretch image, I compensate for this in customise.sh by adding an
additional list within sources.list.d before the first packages:

    cat > ${rootdir}/etc/apt/sources.list.d/updates.list <<EOF
    deb http://ftp.debian.org/debian stretch-updates main contrib non-free
    deb http://security.debian.org/debian-security stretch/updates main
    EOF

and also I add a step where I

    chroot ${rootdir} apt-get -y dist-upgrade

to upgrade any packages that had been installed previously by
vmdebootstrap.

Jeff


Reply to: