dracut icon indicating copy to clipboard operation
dracut copied to clipboard

dracut-install cleanup

Open nabijaczleweli opened this issue 3 years ago • 16 comments

Changes

See individual commit messages; draft because on top of #1794

nabijaczleweli avatar Apr 27 '22 17:04 nabijaczleweli

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

stale[bot] avatar May 30 '22 21:05 stale[bot]

bad bot

nabijaczleweli avatar May 30 '22 21:05 nabijaczleweli

rebased

nabijaczleweli avatar Jun 09 '22 23:06 nabijaczleweli

Please move the last three commits to a different PR to facilitate review.

fix: return valid path on abs_rel error feat: canonicalise parent of abs_rel() from, too perf: don't allocate abs_rel() target parent realpath

marcosfrm avatar Jun 23 '22 10:06 marcosfrm

#1851

nabijaczleweli avatar Jun 23 '22 13:06 nabijaczleweli

Rebased with #1845 and #1851 trimmed off

nabijaczleweli avatar Jun 24 '22 20:06 nabijaczleweli

all applied

nabijaczleweli avatar Jun 26 '22 18:06 nabijaczleweli

Take a look at

https://github.com/marcosfrm/dracut/commit/67e26afda46c69c834185943b0fac1a5b980219b

it allows use lib until library_install() end. Feel free to add it to this PR if I not missed anything.

marcosfrm avatar Jun 26 '22 22:06 marcosfrm

Or I can open a new PR for the dirname() stuff.

LGTM

Edit: need to fix the commit messages...

marcosfrm avatar Jun 27 '22 22:06 marcosfrm

Ping?

Take a look at

marcosfrm@67e26af

it allows use lib until library_install() end. Feel free to add it to this PR if I not missed anything.

Actually the last strdup() is required because POSIX basename(), as it expects char *path and switching to the GNU version possibly can break other libcs -- musl only implements the POSIX version if i remember correctly.

marcosfrm avatar Jul 13 '22 10:07 marcosfrm

Month bump

nabijaczleweli avatar Jul 26 '22 11:07 nabijaczleweli

Commit messages still need changes.

marcosfrm avatar Jul 26 '22 12:07 marcosfrm

Appended (dracut-install) to all that touch the .c

nabijaczleweli avatar Jul 26 '22 13:07 nabijaczleweli

For a clean git history, needs rebase after 7f2b09339c063279f736f6d4f079f6dd7ed10577

marcosfrm avatar Aug 13 '22 11:08 marcosfrm

LGTM

marcosfrm avatar Aug 13 '22 22:08 marcosfrm

Can this go in to get more testing?

marcosfrm avatar Sep 07 '22 12:09 marcosfrm

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

stale[bot] avatar Oct 08 '22 06:10 stale[bot]

bad bot

nabijaczleweli avatar Oct 08 '22 11:10 nabijaczleweli

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

stale[bot] avatar Nov 09 '22 05:11 stale[bot]

ping

marcosfrm avatar Nov 11 '22 10:11 marcosfrm

pong. looks fine on my end?

nabijaczleweli avatar Nov 11 '22 12:11 nabijaczleweli

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

stale[bot] avatar Dec 11 '22 14:12 stale[bot]

so true, bestie

nabijaczleweli avatar Dec 11 '22 14:12 nabijaczleweli

Personally, I would prefer having https://github.com/dracutdevs/dracut/pull/1987 around to help out for these reviews. Not sure if someone there is a way to do a run just for this PR.

LaszloGombos avatar Dec 11 '22 15:12 LaszloGombos

unresolved conversation and un-requested re-reviews ( @marcosfrm acked in comment section not in the review process ) has the tendency to get pr ignored from those of us that are quite busy anyways let's not merge this until in 059 milestone

johannbg avatar Dec 21 '22 16:12 johannbg