Gentoo Archives: gentoo-catalyst

From: Christos Kotsi <christo.kotsi@×××××.com>
To: gentoo-catalyst@l.g.o
Cc: christo.kotsi@×××××.com
Subject: [gentoo-catalyst] [PATCH 6/6] changed mkdir line for kernels/misc
Date: Wed, 12 Apr 2017 08:44:29
Message-Id: 20170412084349.2017-6-christo.kotsi@gmail.com
In Reply to: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands by Christos Kotsi
1 ---
2 targets/support/netboot2-final.sh | 4 +---
3 1 file changed, 1 insertion(+), 3 deletions(-)
4
5 diff --git a/targets/support/netboot2-final.sh b/targets/support/netboot2-final.sh
6 index ebd5187..e6566a1 100755
7 --- a/targets/support/netboot2-final.sh
8 +++ b/targets/support/netboot2-final.sh
9 @@ -3,13 +3,11 @@
10 source ${clst_shdir}/support/functions.sh
11 source ${clst_shdir}/support/filesystem-functions.sh
12
13 -
14 extract_kernels ${clst_target_path}/boot
15
16 # Move kernel binaries to ${clst_target_path}/kernels, and
17 # move everything else to ${clst_target_path}/kernels/misc
18 -mkdir ${clst_target_path}/kernels
19 -mkdir ${clst_target_path}/kernels/misc
20 +mkdir -p ${clst_target_path}/kernels/misc
21
22 for x in ${clst_boot_kernel}; do
23 mv ${clst_target_path}/boot/${x} ${clst_target_path}/kernels
24 --
25 2.10.2