Skip to content

Tag Archives: debian

Creating the packages file for your custom apt repository.

06-Oct-09

Just because I keep forgetting…   dpkg-scanpackages directory /dev/null | gzip -9c > directory/Packages.gz

Modifying a debian binary package

06-Oct-09

Download the debian binary, for example example.deb Extract the data tree to a folder called debian, dpkg-deb -x example.deb debian Extract the control files to the debian/DEBIAN folder, dpkg-deb -e example.deb debian/DEBIAN Make your changes, usually to the debian/DEBIAN/control file. Pack it again using fakeroot for the correct file permissions fakeroot dpkg-deb -b debian example.deb

udev persistency rules and Debian based distros

27-Aug-09

udev is used to provide a dynamic /dev directory and to hook userspace into kernel device events. Because of it’s dynamic nature, devices are usually assigned names in the order they are read from the bus. udev provides persistency rules so that device names are kept unchanged after reboots and even hardware changes. Debian is [...]

Changed files tracking for your Debian based system

21-Jul-09

Usually integrity tools like aide, integrit, samhain or tripwire are too much of an overload for embedded systems. If your embedded system is Debian based, for example if you are using emDebian, you can use a simple md5 checksum verification mechanism. This won’t give you intrusion protection, but it can be useful to know whether [...]