• R/O
  • HTTP
  • SSH
  • HTTPS

image-creator: Commit

KVM host image creator.


Commit MetaInfo

Révision69cdbafad7bfa8ba4fe01f1f839cf1655b4a6ba5 (tree)
l'heure2020-03-09 13:31:34
AuteurTatsuki SUGIURA <sugi@osdn...>
CommiterTatsuki SUGIURA

Message de Log

Update jessie kernel URL.

Change Summary

Modification

--- a/create-image
+++ b/create-image
@@ -145,7 +145,7 @@ class ImageCreator
145145 # Note: 2019-10-08 時点で Debian9 のカーネルバージョンに対応していないので、エラー回避のために既存のカーネルを全て削除し、強制的に jessie のカーネルをイントールする
146146 system("rm", "-f", "#{dir}/var/lib/dpkg/info/linux-image-#{`uname -r`.chomp}.prerm")
147147 system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt", "remove", "--purge", "-y", "linux-image-*")
148- system("wget", "-O", "#{dir}/tmp/linux.deb", "http://security.debian.org/debian-security/pool/updates/main/l/linux/linux-image-3.16.0-10-amd64_3.16.74-1_amd64.deb") or raise "Failed to get jessie kernel"
148+ system("wget", "-O", "#{dir}/tmp/linux.deb", "http://security-cdn.debian.org/debian-security/pool/updates/main/l/linux/linux-image-3.16.0-10-amd64_3.16.81-1_amd64.deb") or raise "Failed to get jessie kernel"
149149 system("chroot", dir, "dpkg", "-i", "/tmp/linux.deb")
150150 system({'DEBIAN_FRONTEND' => 'noninteractive'}, "chroot", dir, "apt", "install", "-f", "-y") or raise "Failed to install jessie kernel"
151151 else
Afficher sur ancien navigateur de dépôt.