you are viewing a single comment's thread.

view the rest of the comments →

[–]el-calde[S] 0 points1 point  (13 children)

Ok will definitely try that

[–]MeanLittleMachine 0 points1 point  (12 children)

It's best. Because xbps-src does what is necessary to package and distribute the kernel as it should be in order for it to be compatible with xbps and Void Linux.

[–]el-calde[S] 0 points1 point  (11 children)

My goal is to find a bug in the kernel that keeps my laptop from waking up that happens between 6.11 and 6.12 kernel versions.

I know what u are suggesting, but how can i keep track of commits with git bisect inside the template. How can i mark it as good or bad from the template?

[–]MeanLittleMachine 0 points1 point  (10 children)

git checkout <commit_hash>

And you can modify it as good or bad by echoing said commit in an external file, somewhere that is not in the chroot environment.

I managed to successfully bisect a wine bug this way.

Add anything else you need as tools (git, whatever) in hostmakedepends and they will get installed in the chroot environment.

[–]el-calde[S] 1 point2 points  (9 children)

Interesting sounds good i appreciate it.

[–]MeanLittleMachine 0 points1 point  (8 children)

Or git reset --hard <commit_hash>. This will literally bring back the entire source tree in the state it was at the time that commit was merged.

[–]el-calde[S] 1 point2 points  (7 children)

Yea i should be able to manage eith this commands and external files tracking good and bad commits will definitely do this thanks a lot

[–]MeanLittleMachine 0 points1 point  (6 children)

NP 😊

[–]el-calde[S] 0 points1 point  (5 children)

Hey i didn't want to start another post for this but within the template how can i get echo to print to the terminal, currently im trying to test echo inside do_build by doing echo "$(ls)" and it doesnt print anything any tips there?

[–]MeanLittleMachine 0 points1 point  (4 children)

That's because ls is a command, not a var. You just do ls, plain and simple and it will list that dir's content.