I'd propose a solution here.
If you guys do not complain, I will make a patch soon and wait for merge.

Use /var/cache/b43-fwcutter to store downloaded firmware.

When any of the postinst script run, it will:
1. Check whether needed firmware is already in /var/cache/b43-fwcutter,
if so, skip downloading and use it. (We check SHA-1, definitely)
2. If downloading is necessary, download the firmware and put a README
in /var/cache/b43-fwcutter stating that the directory can be removed.
3. Go through normal process, we still delete extracted files in the end.
4. Inform user the fact that we saved firmware tarball only when
installation fails.

In addition, we add README/README.Debian to document the above mentioned
behaviors.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to