Summary: | New package ebuild: sys-fs/libldm-0.2.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Teika kazura <teika> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | claytonc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The ebuild
Modified due to different patch sourcing. Modified due to different patch sourcing. Modified build due to different patch sourcing. Originally Arch based systemd service Prefix=/usr/local, now edited for Prefix=/usr |
Description
Teika kazura
2019-11-23 01:07:52 UTC
Created attachment 597144 [details]
The ebuild
I succeeded in using your supplied build and encountered this error 'Partition volume offset does not match sizes of preceding partitions' did some digging and discovered that this is due to the dm creator processing the sub partitions and possibly disk in sequential order. Within my search results there was results for unmoon and guysmoilov git repositories which have patched part of the dm create part of the source code to arrange sub parts and i guess disks by offset rather than sequential and this rectified the issue immediately. I was unable to test multiple disks in a spanned ldm volume due to only having a spanned volume on a singular disk. Whilst I was browsing said repositories I also came across some previous commits that had been made by mdbooth, unmoon and guysloilov. I ran an diff to create a patch with the diffs between the 0.2.4 tar and the version of ldm.c from guysloilov's repository as of Mar 2020 which covered in all about 5 in all and its running lovely. I will shortly be posting my ebuild patch and service file that is corrected due to arch difference (usr/local/bin). Thanks for reading Created attachment 649916 [details, diff]
Modified due to different patch sourcing.
couldn't find the original patch files, so made a new one
Created attachment 649918 [details, diff]
Modified due to different patch sourcing.
Sorry should have ticked the patch box correctly
Created attachment 649920 [details]
Modified build due to different patch sourcing.
Here is the modified ebuild to go in part with the above patch.
Created attachment 649922 [details]
Originally Arch based systemd service Prefix=/usr/local, now edited for Prefix=/usr
Here is the fit for gentoo systemd service file
been a good few years, I recently checked libldm (mdbooth) github and noticed new tag/release, will look into it over the coming months/years, not activley using gentoo linux these days. Previous release helped to work on a GPT device with 2 Dynamic parts in data recovery work. |