Add some missinf commands
This commit is contained in:
parent
0337398718
commit
13c6366500
1 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
printf "Customize hook script for mmdebstrap %s\n\n" "$RECIPE"
|
||||
|
||||
printf "Remove root password\n"
|
||||
#echo "root:root" | chpasswd
|
||||
passwd -d root
|
||||
|
||||
printf "Add MNT repository and key\n"
|
||||
chroot $1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 376511EB67AD7BAF
|
||||
echo "deb https://mntre.com/reform-debian sid/" | chroot $1 tee /etc/apt/sources.list.d/mntre.list
|
||||
|
@ -20,6 +24,11 @@ else
|
|||
printf "Can't find %s directory\n" "$source"
|
||||
fi
|
||||
|
||||
#Start hw setur service
|
||||
chroot $1 systemctl enable reform-hw-setup.service
|
||||
#mask hibernation / sleep target
|
||||
chroot $1 systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||
|
||||
# Procfs is needed to build DRM
|
||||
mount -t proc /proc $1/proc
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue