added note
This commit is contained in:
parent
af0ad90b3b
commit
51667fac34
1 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,15 @@ test.bash - Some file I was using to test something, you can ignore it
|
||||||
|
|
||||||
To add flatpak support for making it more usable for desktops. Also at one point create a custom replacement for makeself thats specific to this script.
|
To add flatpak support for making it more usable for desktops. Also at one point create a custom replacement for makeself thats specific to this script.
|
||||||
|
|
||||||
|
# Notes Feb 22 2024
|
||||||
|
|
||||||
|
I spent all day testing this with VMs and found a problem that would prevent my code from running properly. Turns out if the system has no manually downloaded and installed packages, the line below causes awk to hang waiting for input.
|
||||||
|
|
||||||
|
apt list --installed | grep ',local]' | awk -F/ '{print $1}' >> $tmpdir/exclusions
|
||||||
|
|
||||||
|
Now I tried to use timeout and well that didn't work. After many hours I figured lets toss the line
|
||||||
|
at chatgpt maybe it comes up with something I overlooked and it did. Simply check for output first, wow I was adding all the crazy debug code to all parts of this thing and overlooked that. It suggested a fix which wasn't elegant, but appears to work. Hopefully, this resolves a few issues. Next up maybe some tweaks to exclusions to speed the process up.
|
||||||
|
|
||||||
# Notes Oct 29 2023
|
# Notes Oct 29 2023
|
||||||
|
|
||||||
I've been at it adding a few tweaks here or there. Trying to add a good system for exclusions to make things more protable. While the current version works great on say VPS running the same base image, its not so good on different ones. This is due to some packages perhaps having different names like kernel images, modules and headers. This also includes things installed from a single package file you downloaded that isn't in a repo. Technically not bugs, but I want more flexibility.
|
I've been at it adding a few tweaks here or there. Trying to add a good system for exclusions to make things more protable. While the current version works great on say VPS running the same base image, its not so good on different ones. This is due to some packages perhaps having different names like kernel images, modules and headers. This also includes things installed from a single package file you downloaded that isn't in a repo. Technically not bugs, but I want more flexibility.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue