[buildiso] add feature to validate compatibilty of profiles #77
Labels
No labels
Done
bug
buildiso
buildpkg
buildtree
critical
deployiso
duplicate
enhancement
help wanted
in progress
invalid
manjaro-chroot
note
old-not-relevant
optional
question
sonar
todo
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tools/manjaro-tools#77
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?
Created by: philmmanjaro
Issue #76 is one of the best examples of broken profiles. We need a feature/routine to validate them:
Created by: udeved
Like to enhance ...
I'll do that.
Atm, we check shared folder, and before the build of profile the profile folder with a separate function check_sanity().
Created by: udeved
Created by: udeved
The check is for a minimal profile build requirement.
If one file or dir is missing, the entire check fails for files and dirs respectively.
I also added a chroot version check against manjaro-tools version installed.
If chroot version is outdated, chroot will be recreated. It may be a useless check for buildiso, however, it works nicely with buildpkg, and the build won't error out with outdated chroot msg.