Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Cc: Matt Turner <mattst88@g.o>
Subject: [gentoo-catalyst] [PATCH 32/37] targets: Delete never-used packages.txt code
Date: Wed, 21 Oct 2020 00:24:54
Message-Id: 20201021002344.378131-32-mattst88@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 01/37] catalyst: Use early return to unindent code by Matt Turner
1 Added in 2008 with a commit message saying
2
3 Added code to livecd-stage1 to generate a package list, which
4 will be used in livecd-stage2 with the upcoming livedvd
5 livecd/type to fetch the distfiles automatically.
6
7 which sounds like a nice plan, but until it's implemented we don't need
8 this code.
9
10 Fixes: a97c7ee4 ("Updated TODO. ...")
11 Signed-off-by: Matt Turner <mattst88@g.o>
12 ---
13 targets/livecd-stage1/controller.sh | 1 -
14 targets/livecd-stage2/controller.sh | 1 -
15 2 files changed, 2 deletions(-)
16
17 diff --git a/targets/livecd-stage1/controller.sh b/targets/livecd-stage1/controller.sh
18 index c4572ff9..ae897da9 100755
19 --- a/targets/livecd-stage1/controller.sh
20 +++ b/targets/livecd-stage1/controller.sh
21 @@ -11,7 +11,6 @@ case $1 in
22 mkdir -p ${clst_chroot_path}/usr/livecd ${clst_chroot_path}/tmp
23 exec_in_chroot \
24 ${clst_shdir}/${clst_target}/chroot.sh
25 - echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
26 ;;
27 esac
28 exit $?
29 diff --git a/targets/livecd-stage2/controller.sh b/targets/livecd-stage2/controller.sh
30 index 30b522e3..826dc9dc 100755
31 --- a/targets/livecd-stage2/controller.sh
32 +++ b/targets/livecd-stage2/controller.sh
33 @@ -78,7 +78,6 @@ case $1 in
34 # Clean out man, info and doc files
35 rm -rf ${clst_chroot_path}/usr/share/{man,doc,info}/*
36 fi
37 - rm -f ${clst_chroot_path}/tmp/packages.txt
38 ;;
39
40 bootloader)
41 --
42 2.26.2