diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2018-02-21 20:02:38 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2018-02-21 20:02:38 +0000 |
commit | 3686fca627298abaa4f0e52be3b3719108aab0f3 (patch) | |
tree | b7ba1546ad23a629c6330aac37b72f70d9b85ccf | |
parent | 5e85d8ae1ec873165afba3ab301ddadc8a24f46b (diff) |
Delete the kernel link kit tgz after extraction to align with the
libexec/reorder_kernel script.
OK tb
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 839ac13cbe5..ea9c3a84054 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1064 2018/02/21 19:54:25 rpe Exp $ +# $OpenBSD: install.sub,v 1.1065 2018/02/21 20:02:37 rpe Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -2750,9 +2750,9 @@ finish_up() { rm -rf $_kernel_dir mkdir -m 700 -p $_kernel_dir tar -C $_kernel_dir -xzf $_kernel_dir.tgz $_kernel + rm -f $_kernel_dir.tgz chroot /mnt /bin/ksh -e -c "cd ${_kernel_dir#/mnt}/$_kernel; \ make newbsd; make newinstall" - rm -f $_kernel_dir.tgz ) >/dev/null 2>&1 && echo "done." || echo "failed." fi |