MHWD sets environment.syncPackageManagerDatabase to false even if no sync has taken place #65
Labels
No labels
bug
duplicate
enhancement
invalid
question
wontfix
wrong bugtracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
applications/mhwd#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This happens when mhwd installs video-modesetting as part of the nvidia+intel prime drivers. IMO this issue is critical since it was shipped in Manjaro 20.1 and prevents prime (nvidia+intel. amd+nvidia is fine) configs from being installed correctly on live systems.
mentioned in merge request !127
changed the description
@TotallyNotElite be more specific. What happens on INTEL-NVIDIA systems, no drivers get installed at all?
Greetings, the following series of events unfolds:
Fix is here: https://gitlab.manjaro.org/applications/mhwd/-/merge_requests/50
So yes, essentially no drivers get installed.
On Live-Systems we don't sync the databases at all. It defied the purpose of the local database. We have a static snapshot of the extramodules and all needed dependencies on the local database/repo on disk. If we would sync it will download packages from the Internet which won't match to the kernel on disk. So this needs to be handled differently with Offline approach in mind.
Incorrect. A sync is still required, but the sync takes place from the local disk. This works correctly without an internet connection.
I'll test if my fixed version works correctly on a live version without internet access, give me 10 minutes.
OK, let me know the outcome. Also with internet connection if it tries to download new packages. Most likely change to unstable branch to have newer extramodules available.
Just confirmed it works correctly with my modified mhwd package. Tested without an internet connection by running mhwd-live as root. The mhwd-live.log file and pacman.log file confirm my hypothesis.
I think you are mistaken about this. Mhwd-live will never access the internet to download packages, it will always use the local cache in mhwdfs.sfs.
No, how could it? It only knows about a single repo:

mentioned in commit
e64a3d8250