new commit

This commit is contained in:
Manuel 2023-05-23 09:08:34 +00:00
parent 20daedd935
commit d13076f2df
7 changed files with 49 additions and 5 deletions

View File

@ -77,3 +77,9 @@ else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append $
mv ${OutFile} ${LogFile} mv ${OutFile} ${LogFile}
fi fi
# Remove fusato folder content
rm -r *
exit 0

View File

@ -76,3 +76,8 @@ done
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
mv ${OutFile} ${LogFile} mv ${OutFile} ${LogFile}
fi fi
# Remove fusato folder content
rm -r *
exit 0

View File

@ -75,3 +75,8 @@ done
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
mv ${OutFile} ${LogFile} mv ${OutFile} ${LogFile}
fi fi
# Remove fusato folder content
rm -r *
exit 0

View File

@ -75,3 +75,8 @@ done
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
mv ${OutFile} ${LogFile} mv ${OutFile} ${LogFile}
fi fi
# Remove fusato folder content
rm -r *
exit 0

View File

@ -75,3 +75,8 @@ done
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
mv ${OutFile} ${LogFile} mv ${OutFile} ${LogFile}
fi fi
# Remove fusato folder content
rm -r *
exit 0

View File

@ -75,3 +75,8 @@ done
else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile}
mv ${OutFile} ${LogFile} mv ${OutFile} ${LogFile}
fi fi
# Remove fusato folder content
rm -r *
exit 0

View File

@ -10,6 +10,19 @@
mkdir -p /target/etc/skel/.local/share/pmostools mkdir -p /target/etc/skel/.local/share/pmostools
mkdir -p /target/opt/pepconf mkdir -p /target/opt/pepconf
mkdir -p /target/opt/pypep/dbpep mkdir -p /target/opt/pypep/dbpep
mkdir -p /target/etc/default
mkdir -p /target/etc/apt/sources.list.d
mkdir -p /target/etc/apt
mkdir -p /target/etc/apt/trusted.gpg.d
mkdir -p /target/usr/share/keyrings
mkdir -p /target/usr/share/applications
mkdir -p /target/opt/pepconf
mkdir -p /target/opt/pypep/dbpep
mkdir -p /target/usr/share/polkit-1/actions
mkdir -p /target/usr/share/pixmaps
mkdir -p /target/etc/lightdm
mkdir -p /target/usr/lib/python3/dist-packages
mkdir -p target/boot/grub
# Copy files to the chroot directory # Copy files to the chroot directory
echo "Copying files to chroot..." echo "Copying files to chroot..."
@ -30,7 +43,7 @@ cp /preseed/lightdm/* /target/etc/lightdm
# Copy recursive files and sub-directories # Copy recursive files and sub-directories
cp -r /preseed/grub/themes /target/boot/grub cp -r /preseed/grub/themes /target/boot/grub
cp -r /preseed/protools/* /target/usr/local/bin cp -r /preseed/protools/* /target/usr/lib/python3/dist-packages
cp -r /preseed/py/* /target/usr/lib/python3/dist-packages cp -r /preseed/py/* /target/usr/lib/python3/dist-packages
cp -r /preseed/tools/* /target/etc/skel/.local/share/pmostools cp -r /preseed/tools/* /target/etc/skel/.local/share/pmostools