From 34b03da4941210cd8ad19ae7852cb7d390eafd82 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 22 Jul 2024 16:33:07 -0400 Subject: [PATCH] Update for Ubuntu 24.04 diskless --- imgutil/imgutil | 1 + imgutil/ubuntu24.04 | 1 + 2 files changed, 2 insertions(+) create mode 120000 imgutil/ubuntu24.04 diff --git a/imgutil/imgutil b/imgutil/imgutil index 022279cc..d5714306 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -655,6 +655,7 @@ class DebHandler(OsHandler): def prep_root(self, args): shutil.copy('/etc/apt/sources.list', os.path.join(self.targpath, 'etc/apt/sources.list')) + shutil.copytree('/etc/apt/sources.list.d', os.path.join(self.targpath, 'etc/apt/sources.list.d')) args.cmd = ['apt-get', 'update'] run_constrainedx(fancy_chroot, (args, self.targpath)) args.cmd = ['apt-get', '-y', 'install'] + self.includepkgs diff --git a/imgutil/ubuntu24.04 b/imgutil/ubuntu24.04 new file mode 120000 index 00000000..7d13753d --- /dev/null +++ b/imgutil/ubuntu24.04 @@ -0,0 +1 @@ +ubuntu \ No newline at end of file