If you’re running Fedora or Red Hat and have turned on the DNF package cache, eventually you’ll start using gigabytes of disk space. Simply running dnf clean packages
will erase everything in the package cache.
But what if you want to preserve the latest version of each package and just delete the outdated versions? For example, to keep a local cache of the latest version of each package you’ve installed, and so that DRPM will still work on your next dnf upgrade. more …
If you found this page, you probably don’t like the black border line that Gnome 3.16 added underneath the window title bar. I just came across it when I upgraded to Fedora 23. The old title bar used to blend seamlessly into the window background, but not anymore. more …
Here’s what I do, it uses FFmpeg, doesn’t require a for
loop and should work on any POSIX-compliant system. Take note that it will delete your original files! The idea is to make a copy of your music folder first, and then run this command on the copy.
find -name "*.flac" -exec sh -c 'ffmpeg -i "$1" -acodec libmp3lame -aq 4 "${1%.flac}.mp3" && rm -f "$1"' _ {} \;
And that’s it! more …
Now that LG has corrected its source code, I’ve built my overclocked Android kernel for the Virgin Mobile Optimus V, a phone that’s nearly identical to my Sprint Optimus S and that also runs on Sprint’s 3G CDMA network. If your V needs a speed boost or extra driver support, keep reading! more …
Sweet victory! LG took quick action and wrote me yesterday to tell me they’d released an updated version of the source code for the Optimus V that fixes the bugs I identified over the weekend.
So, all is well in this small corner of the open-source world. I’ve downloaded the new source code (labeled “LGVM670(Thunder) Android Froyo/kernel bugs were fixed” on LG’s download site), and verified that the fixes were made and that the new code builds cleanly.
In case you’re interested in the differences between the Optimus S and Optimus V (LS670 and VM670, respectively), here’s a diff of the kernel sources that I’ve made.
I’ve discovered some bugs in the Linux kernel source code released by LG for the Virgin Mobile Optimus V, or VM670, a close CDMA twin to my Sprint Optimus S. It seems clear from the differences between the S and V source releases that LG has attempted to scrub code comments from the V source, but in the process they’ve created at least two syntax errors that break the code and cause it not to build.
They’ve also left out 15 files that are part of the Linux kernel’s netfilter and needed to build the kernel as configured by LG.
Update: LG has fixed the bugs, so keep reading only if you’re interested in the details.
I’ll detail the problems and explain how to (possibly) fix them below. However, the real issue is that the LG archive is broken as-is, so there’s no way it was used to build the actual Optimus V kernel. While I’m no GPL expert, it seems to me that LG is obligated to provide actual, working source code upon request, not an incomplete, broken fork. Let’s hope this was just an oversight, and one that LG will rectify. more …
Older posts »