Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/public/lib.urlhandlers.php on line 503
Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 224
Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/public/lib.urlhandlers.php on line 65
Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 247 JDobbelstein.dev() - desktopTo infinity, and beyond !2011-01-10T00:04:33+01:00Johanurn:md5:98d5e93307cb5ee6e20feba0dc3f35ebDotclearFedora RPM hackingurn:md5:e53ed4f22591be4c3fad9cfc49e056c32010-01-14T03:57:00+01:00JohandesktopFedoraRPM<p>Fedora is a distribution supported by Red Hat® which aims to be
user-friendly. Unfortunately if you like to hack your software or to use
exotic programs, you'll have to go through the RPM pipeline to nicely
integrate your binaries with the rest of your system. </p>
<p>Here is an example on how to modify <a href="http://www.brain-dump.org/projects/dvtm/" style="">DVTM</a> source code. We get
the RPM source package, patch the code and regenerate a binary RPM the fedora-way.</p> <p>Setting up development environment
First, you have to create a directory rpmbuild where you will work.
Simply install the rpmdevtools RPM and use :
su -c 'yum install yum-utils rpmdevtools'
rpmdev-setuptree
Getting the source
We will use yum, the fedora package manager, to download the source, extract
them, and install the require build &... <em><a href="http://www.jdobbelstein.eu/blog/post/2010/01/14/Fedora-RPM-hacking">Read</em> Fedora RPM hacking</a></p>The headless caseurn:md5:bb35641d9ddaf45a8a15fb26d74d18a62009-12-19T20:38:00+01:00Johandesktopqemuslitaztoolbox<p>Imagine an old headless computer box and an `aptitude safe-upgrade` which failed. No keyboard nor screen connected to the box. No graphic card inside. The nightmare has begun...
... fortunately, Slitaz was here to help !</p> <p>I came across a small annoying problem when upgrading my Debian headless 'server' one time : dpkg failed to remount read-write enabled my /boot partition or it was out of space and consequently the update of grub/initramfs did not work, letting my old server unable to reboot by itself. (yes I know, I could have confgured /etc/apt/apt.conf to work... <em><a href="http://www.jdobbelstein.eu/blog/post/2009/12/19/The-headless-case">Read</em> The headless case</a></p>