Run apt-get update in initial bootstrap.
For eg, Linode, which brings up hosts that have not updated at all so apt-get install doesn't work.
This commit is contained in:
parent
bc8b7f2173
commit
8f46b7ab68
|
@ -1,3 +1,9 @@
|
||||||
|
propellor (0.8.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Run apt-get update in initial bootstrap.
|
||||||
|
|
||||||
|
-- Joey Hess <joeyh@debian.org> Mon, 07 Jul 2014 02:03:46 -0400
|
||||||
|
|
||||||
propellor (0.8.0) unstable; urgency=medium
|
propellor (0.8.0) unstable; urgency=medium
|
||||||
|
|
||||||
* Completely reworked privdata storage. There is now a single file,
|
* Completely reworked privdata storage. There is now a single file,
|
||||||
|
|
|
@ -210,7 +210,8 @@ spin hn hst = do
|
||||||
bootstrapcmd = shellWrap $ intercalate " ; "
|
bootstrapcmd = shellWrap $ intercalate " ; "
|
||||||
[ "if [ ! -d " ++ localdir ++ " ]"
|
[ "if [ ! -d " ++ localdir ++ " ]"
|
||||||
, "then " ++ intercalate " && "
|
, "then " ++ intercalate " && "
|
||||||
[ "apt-get --no-install-recommends --no-upgrade -y install git make"
|
[ "apt-get update"
|
||||||
|
, "apt-get --no-install-recommends --no-upgrade -y install git make"
|
||||||
, "echo " ++ toMarked statusMarker (show NeedGitClone)
|
, "echo " ++ toMarked statusMarker (show NeedGitClone)
|
||||||
]
|
]
|
||||||
, "else " ++ intercalate " && "
|
, "else " ++ intercalate " && "
|
||||||
|
|
Loading…
Reference in New Issue