Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Tue, 31 Mar 2020 18:39:01
Message-Id: 1585679900.4e910d3734eaba7b8467a96a82098b8a7013dbc3.mattst88@gentoo
1 commit: 4e910d3734eaba7b8467a96a82098b8a7013dbc3
2 Author: Christos Kotsi <christo.kotsi <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 12 08:43:49 2017 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 31 18:38:20 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4e910d37
7
8 targets: Use mkdir -p
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 targets/support/netboot2-final.sh | 4 +---
13 1 file changed, 1 insertion(+), 3 deletions(-)
14
15 diff --git a/targets/support/netboot2-final.sh b/targets/support/netboot2-final.sh
16 index ebd51878..e6566a1e 100755
17 --- a/targets/support/netboot2-final.sh
18 +++ b/targets/support/netboot2-final.sh
19 @@ -3,13 +3,11 @@
20 source ${clst_shdir}/support/functions.sh
21 source ${clst_shdir}/support/filesystem-functions.sh
22
23 -
24 extract_kernels ${clst_target_path}/boot
25
26 # Move kernel binaries to ${clst_target_path}/kernels, and
27 # move everything else to ${clst_target_path}/kernels/misc
28 -mkdir ${clst_target_path}/kernels
29 -mkdir ${clst_target_path}/kernels/misc
30 +mkdir -p ${clst_target_path}/kernels/misc
31
32 for x in ${clst_boot_kernel}; do
33 mv ${clst_target_path}/boot/${x} ${clst_target_path}/kernels