From eca4d5578b6d10c27009d0e0de7cc1c51579f47c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Wed, 20 Feb 2019 21:14:56 -0300 Subject: [PATCH] stages: 1: include extra script to copy needed files for the final system --- stages/1/20-files | 24 ++++++++++++++++++++++++ stages/1/{20-toolchain => 21-toolchain} | 0 2 files changed, 24 insertions(+) create mode 100755 stages/1/20-files rename stages/1/{20-toolchain => 21-toolchain} (100%) diff --git a/stages/1/20-files b/stages/1/20-files new file mode 100755 index 00000000..8edb4978 --- /dev/null +++ b/stages/1/20-files @@ -0,0 +1,24 @@ +# Build script for extra files. +# +# Copyright (c) 2019 Matias Fonzo, . +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# These are needed files to be copied on the final system + +# This is needed by tarlz(1) to set the user/group on extraction +cp -p "${worktree}/archive/etc/passwd" "${rootdir}/etc/" +cp -p "${worktree}/archive/etc/shadow" "${rootdir}/etc/" +cp -p "${worktree}/archive/etc/group" "${rootdir}/etc/" +cp -p "${worktree}/archive/etc/gshadow" "${rootdir}/etc/" + diff --git a/stages/1/20-toolchain b/stages/1/21-toolchain similarity index 100% rename from stages/1/20-toolchain rename to stages/1/21-toolchain -- 2.11.4.GIT