From bf1687b229f4434fd6e775d6ae65913fb8cf7215 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 10 Mar 2019 00:36:53 +0100 Subject: [PATCH] make busybox tools available in default $PATH --- Makefile | 12 ++++++++---- files/etc/profile.d/busybox.sh | 3 +++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 files/etc/profile.d/busybox.sh diff --git a/Makefile b/Makefile index 5d4e7f0..58c32d9 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ config.mk: config.example cp -n "$<" "$@" include config.mk -.PHONY: imgfile imgmount root_copy norecommends apt_keys wifi_cfg ssh_key +.PHONY: imgfile imgmount root_copy norecommends apt_keys wifi_cfg ssh_key busybox export SOURCES export WIFI_CFG @@ -96,18 +96,22 @@ root_copy: imgmount raspi_root/ files/ id_rsa.pub: ssh-keygen -b 2048 -t rsa -N '' -f id_rsa -ssh_key: imgmount id_rsa.pub +ssh_key: imgmount root_copy id_rsa.pub mkdir -p "$>"$"$