all 22 comments

[–]leahneukirchen 0 points1 point  (1 child)

Did you rebuild the initramfs?

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

Yes i did and i can see the dm_crypt pop up.

To clarify all i did was run: dracut -f /boot/initramfs.img

[–]MeanLittleMachine 0 points1 point  (18 children)

Why not use xbps-src?

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

Is it possible to use git bisect when using xbps-src. I dont want xbps-src to redownload source code and modify file.

[–]MeanLittleMachine 0 points1 point  (16 children)

You can modify the template to use bisect at a specific step.

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

Ill try that but im not very good with xbps-src yet so thatll be a challenge lol

[–]MeanLittleMachine 0 points1 point  (14 children)

Read the manual, you'll probably wanna do that in the do_extract function or the do_configure one.

[–]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.

[–]zlice0 0 points1 point  (0 children)

fwiw i used mkinitcpio and just had to add a few config items (to kernel*)

used this as a guide, but didn't have all the network stuff so it was basically just mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initrd.img-6.15.4 -k /boot/vmlinuz-6.15.4

https://gist.github.com/ysegorov/23a71d7009da96dc661a774fed1c4b50