I am not really sure about anything, but I noticed that we need this,
because the latest GCE images use pkgbase, so I adapted it from the one
cperciva wrote for freebsd-update.
Sponsored by: Google (they gave me a vm, right?)
Differential D56381
sysutils/firstboot-pkg-upgrade: New port Authored by ziaee on Mon, Apr 13, 7:32 PM. Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event Timeline
Comment Actions remove HTTP_TIMEOUT since I didn't see that in the pkg code. Add -y so Comment Actions ok, i figured out how to test this, and fixed the errors. it's working
Comment Actions Sorry, I should have been clearer. Can you make limiting to a specific repository *optional*? There may be people who want to update everything, especially if they build their own images which access internal repositories. Comment Actions adjust logic to accept a firstboot_pkg_upgrade_repos variable that i also rewrapped the comment for my workflow.
Comment Actions apply bapt feedback. note that a bogus repo being specified will abort all the others. im not sure if i need to initialize the empty variable first, but that's what i did. thanks @bapt!
Comment Actions remove log prefix overquoting and add autoclean to pkg. thanks @delphij! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||