I want to test AutoPatch with KHD downloads, but I don't know so much about linux internals and I have some questions...
- You included patch32lsb.c but not the executable. We need to compile it for kobo devices with specific parameters or we can use a binary from Metazoa pack?
- Can you explain autopatch.rules ?
KERNEL=="fsl-usb2-udc" (autopatch and autoshelf)
ACTION=="remove" (autopatch)
SUBSYSTEM=="drivers" (autoshelf)
- suspend_nickel() and resume_nickel(). How did you find that ? ;-)
- To process KHD downloads, in autopatch.sh, before cd "$AUTOPATCH" line, maybe this will be enough:
Code:
# If there are downloaded patches from KHD extract them
DOWNLOADED_ZIP="download.php"
if [ -f /mnt/onboard/"$DOWNLOADED_ZIP" ]
then
unzip -o /mnt/onboard/"$DOWNLOADED_ZIP" *.patch -d /mnt/onboard/.autopatch
rm /mnt/onboard/"$DOWNLOADED_ZIP"
fi