TODO ==== * the script locations should be changed in the next version so they don't sit next to teh rPi's example development code that ships with teh stock rPi * the system isn't optimised and should be : cleanup and making it as close to stock as possible * Starting process should be more obfuscated * strip exif data and leave it in a .txt file next to the image it came from => exiftool [Done with remount] set filesystem of OS in RO (physical switch and/or remount OS) [OK] mount source key in RO and noexec <= also nosuid and nodev [OK] mount target key with noexec <= also nosuid and nodev * convert spreadsheets in csv ? * convert documents (pdfs/*office/...) in images ? * Have a look at Ghostscript to work on PDFs (.pdf -> .eps -> .png?) [do everything as user] do not run the conversions as root -> run in chroot * take eth0 down in /etc/netowrk/interfaces or in the groomer script disable the interface before anything happens * hdmi should stay up: solveable by poking the power management timer (better not to disable the PM completely) * get rid of pdfbox. remove need for java * scripts to generate a SD card automatically (win/mac/linux) * move the scripts away from /opt/ * strip back libreoffice to minimum required packages. in particular, if possible, remove libreoffice-java-common package * Write the groomer log on the destination key [Done] use /etc/mime.types and file -b --mime-type to find out the type of the file * Extract metadata fromĀ all the files => https://mat.boum.org/ HTML Files ========== - disable JS - cleanup external imports (js/css/images)