• R/O
  • HTTP
  • SSH
  • HTTPS

image-creator: Commit

KVM host image creator.


Commit MetaInfo

Révision8e04757376d035117c922d93c6128c6aa7649c1e (tree)
l'heure2019-09-30 18:21:50
AuteurTatsuki Sugiura <sugi@nemu...>
CommiterTatsuki Sugiura

Message de Log

Install latest kernel always.

Change Summary

Modification

--- a/create-image
+++ b/create-image
@@ -138,10 +138,8 @@ class ImageCreator
138138 end
139139 end
140140
141- unless File.exists? "#{dir}/vmlinuz"
142- system("chroot", dir, "apt-get", "-qy", "update")
143- system("chroot", dir, "apt-get", "-y", "install", "linux-image-amd64")
144- end
141+ system("chroot", dir, "apt-get", "-qy", "update")
142+ system("chroot", dir, "apt-get", "-y", "install", "linux-image-amd64")
145143
146144 puts "Update grub..."
147145 unless File.exists? "#{dir}/usr/sbin/grub-mkconfig"
Afficher sur ancien navigateur de dépôt.