diff --git a/steps/improve/after.sh b/steps/improve/after.sh index 32d445c9..955a11ae 100644 --- a/steps/improve/after.sh +++ b/steps/improve/after.sh @@ -9,6 +9,19 @@ . /steps/bootstrap.cfg . /steps/env +curl -o /usr/bin/wget https://raw.githubusercontent.com/somasis/wget-curl/master/wget +chmod +x /usr/bin/wget /usr/bin/sudo + + +useradd user +mkdir -p /home/user +chown user:user /home/user +usermod -aG wheel user +echo 'permit nopass :wheel' > /etc/doas.conf +chown root:root /etc/doas.conf +chmod 0400 /etc/doas.conf +chmod u+s /usr/bin/doas + if [ "${INTERACTIVE}" = True ]; then env - PATH=${PREFIX}/bin PS1="\w # " bash -i fi diff --git a/steps/manifest b/steps/manifest index 8d17ed3c..60ea245d 100644 --- a/steps/manifest +++ b/steps/manifest @@ -201,7 +201,6 @@ build: opendoas-6.8.2 improve: cleanup_filesystem improve: null_time ( FORCE_TIMESTAMPS == True ) improve: update_checksums ( UPDATE_CHECKSUMS == True ) -improve: after build: git-2.43.0 build: libxml2-2.10.4 build: libxslt-1.1.38 @@ -209,3 +208,4 @@ build: docbook-xml-4.5 build: docbook-xsl-nons-1.79.2 improve: populate_catalog build: wget-curl-1.0 +improve: after