Skip to content

Commit

Permalink
mount /run/udev into /target, closes: #925247
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Mar 25, 2019
1 parent 658667d commit 730f308
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/updatebase
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ if [ "$FAI_ACTION" = "install" -o "$FAI_ACTION" = "dirinstall" ]; then
if [ -f /etc/init.d/udev ]; then
mount --bind /dev $FAI_ROOT/dev
mount --make-private $FAI_ROOT/dev
mkdir -p $target/run/udev
mount --bind /run/udev $target/run/udev
fi
mount -t devpts devpts $FAI_ROOT/dev/pts
mount --make-private $FAI_ROOT/dev/pts
Expand Down

0 comments on commit 730f308

Please sign in to comment.