Skip to content

Commit

Permalink
Add test user to systemd-journal group
Browse files Browse the repository at this point in the history
  • Loading branch information
cpey committed Sep 19, 2021
1 parent ee62d24 commit 17434d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/copy-linux-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ LINUX_SRC_HASH=$(get_path_hash $LINUX_SRC)
BUILD_DIR=$TOOLS_DIR/../build
OUTDIR=$BUILD_DIR/linux/arch/x86_64/boot

if [[ -d $OUTDIR ]]; then
rm -r $OUTDIR
if [[ ! -d $OUTDIR ]]; then
mkdir -p $OUTDIR
fi

mkdir -p $OUTDIR
cp $LINUX_IMG $OUTDIR/bzImage-$LINUX_SRC_HASH
1 change: 1 addition & 0 deletions tools/create-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ CONFIG_CMDS=(
"adduser --disabled-password --gecos \"\" $USER"
"echo $USER:$PASSWD | chpasswd"
"usermod -aG sudo $USER"
"usermod -aG systemd-journal $USER"
"echo \"$USER ALL= NOPASSWD: ALL\" >> /etc/sudoers"
"echo -e \"allow-hotplug enp0s3\niface enp0s3 inet dhcp\" >> /etc/network/interfaces"
"mkdir /home/$USER/.ssh"
Expand Down

0 comments on commit 17434d0

Please sign in to comment.