First commit
For now xserver refuse to compile dues to missing dependencies
This commit is contained in:
commit
3d3a37d79f
34 changed files with 1570 additions and 0 deletions
28
src/recipes/default/hook/customize.sh
Executable file
28
src/recipes/default/hook/customize.sh
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
printf "Customize hook script for mmdebstrap %s\n\n" "$RECIPE"
|
||||
|
||||
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
|
||||
chroot $1 apt update
|
||||
|
||||
printf "Install MNT packages\n"
|
||||
chroot $1 apt install -y reform-tools reform-handbook
|
||||
|
||||
source="${RECIPE}/hook/data/overlay"
|
||||
printf "Sync overlay directory from %s to %s\n" "$source" "$1"
|
||||
if [ -d $source ]
|
||||
then
|
||||
printf " -> source exist\n"
|
||||
cp -Raf ${RECIPE}/hook/data/overlay/* $1
|
||||
else
|
||||
printf "Can't find %s directory\n" "$source"
|
||||
fi
|
||||
|
||||
# Procfs is needed to build DRM
|
||||
mount -t proc /proc $1/proc
|
||||
|
||||
chroot $1 /root/build_script.sh
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue