Gentoo Archives: gentoo-catalyst

From: Christos Kotsi <christo.kotsi@×××××.com>
To: gentoo-catalyst@l.g.o
Cc: christo.kotsi@×××××.com
Subject: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands
Date: Wed, 12 Apr 2017 08:44:15
Message-Id: 20170412084349.2017-1-christo.kotsi@gmail.com
1 ---
2 targets/livecd-stage2/livecd-stage2-controller.sh | 15 +++++----------
3 1 file changed, 5 insertions(+), 10 deletions(-)
4
5 diff --git a/targets/livecd-stage2/livecd-stage2-controller.sh b/targets/livecd-stage2/livecd-stage2-controller.sh
6 index 10ee98e..16a9071 100755
7 --- a/targets/livecd-stage2/livecd-stage2-controller.sh
8 +++ b/targets/livecd-stage2/livecd-stage2-controller.sh
9 @@ -42,12 +42,9 @@ case $1 in
10 echo "${clst_livecd_type}. You should switch to using"
11 echo "generic-livecd instead."
12 fi
13 - cp -pPR ${clst_sharedir}/livecd/files/generic.motd.txt \
14 - ${clst_sharedir}/livecd/files/universal.motd.txt \
15 - ${clst_sharedir}/livecd/files/minimal.motd.txt \
16 - ${clst_sharedir}/livecd/files/livecd.motd.txt \
17 - ${clst_sharedir}/livecd/files/gamecd.motd.txt \
18 - ${clst_chroot_path}/etc
19 + cp -pPR ${clst_sharedir}/livecd/files/{generic.motd.txt,universal.motd.txt,minimal.motd.txt} ${clst_chroot_path}/etc
20 + cp -pPR ${clst_sharedir}/livecd/files/{livecd.motd.txt,gamecd.motd.txt} ${clst_chroot_path}/etc
21 +
22 ;;
23 *)
24 if [ -n "${clst_livecd_motd}" ]
25 @@ -147,8 +144,7 @@ case $1 in
26 exit 1
27 fi
28 fi
29 - cp -f ${clst_snapshot_path} $1/snapshots
30 - cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots
31 + cp -f ${clst_snapshot_path}{,.DIGESTS} $1/snapshots
32 ;;
33 gentoo-release-livedvd)
34 targets="distfiles snapshots stages"
35 @@ -171,8 +167,7 @@ case $1 in
36 continue
37 ;;
38 snapshots)
39 - cp -f ${clst_snapshot_path} $1/snapshots
40 - cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots
41 + cp -f ${clst_snapshot_path}{,.DIGESTS} $1/snapshots
42 ;;
43 stages)
44 ### TODO: make this copy stages
45 --
46 2.10.2

Replies

Subject Author
[gentoo-catalyst] [PATCH 2/6] updated gitignore with patches directory Christos Kotsi <christo.kotsi@×××××.com>
[gentoo-catalyst] [PATCH 4/6] Added some loops Christos Kotsi <christo.kotsi@×××××.com>
[gentoo-catalyst] [PATCH 5/6] ln,echo and cp commands concentration Christos Kotsi <christo.kotsi@×××××.com>
[gentoo-catalyst] [PATCH 6/6] changed mkdir line for kernels/misc Christos Kotsi <christo.kotsi@×××××.com>
[gentoo-catalyst] [PATCH 3/6] Concentrated export&delete_from_root lines Christos Kotsi <christo.kotsi@×××××.com>
Re: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands Mike Frysinger <vapier@g.o>