diff --git a/src/freedombone-image-vmdebootstrap b/src/freedombone-image-vmdebootstrap index ab3d7f51..5a18b1db 100755 --- a/src/freedombone-image-vmdebootstrap +++ b/src/freedombone-image-vmdebootstrap @@ -38,6 +38,32 @@ else git clone git://git.liw.fi/vmdebootstrap vendor/vmdebootstrap fi +if [ ! -d /usr/share/distro-info ]; then + sudo mkdir -p /usr/share/distro-info + + cat < /tmp/debian.csv +version,codename,series,created,release,eol +1.1,Buzz,buzz,1993-08-16,1996-06-17,1997-06-05 +1.2,Rex,rex,1996-06-17,1996-12-12,1998-06-05 +1.3,Bo,bo,1996-12-12,1997-06-05,1999-03-09 +2.0,Hamm,hamm,1997-06-05,1998-07-24,2000-03-09 +2.1,Slink,slink,1998-07-24,1999-03-09,2000-10-30 +2.2,Potato,potato,1999-03-09,2000-08-15,2003-07-30 +3.0,Woody,woody,2000-08-15,2002-07-19,2006-06-30 +3.1,Sarge,sarge,2002-07-19,2005-06-06,2008-03-30 +4.0,Etch,etch,2005-06-06,2007-04-08,2010-02-15 +5.0,Lenny,lenny,2007-04-08,2009-02-14,2012-02-06 +6.0,Squeeze,squeeze,2009-02-14,2011-02-06,2014-05-31 +7,Wheezy,wheezy,2011-02-06,2013-05-04 +8,Jessie,jessie,2013-05-04,2015-04-25 +9,Stretch,stretch,2015-04-25 +10,Buster,buster,2018-07-01 +,Sid,sid,1993-08-16 +,Experimental,experimental,1993-08-16 +EOF + sudo mv /tmp/debian.csv /usr/share/distro-info/ +fi + cd vendor/vmdebootstrap git checkout tags/vmdebootstrap-0.8 -b tags/vmdebootstrap-0.8 for f in ../../vendor-patches/vmdebootstrap/* ; do