Skip to content
Port of DragonFly BSD Kernel to Debian
C Shell Assembly Perl Objective-C C++
Failed to load latest commit information.
bsd-airtools Cleanup of spaces and blank lines May 25, 2011
dragonflybsd-buildutils/debian
dragonflybsd-glue Changed some FreeBSD references to DragonFlyBSD. Oct 1, 2012
dragonflybsd-libs/debian Changed some FreeBSD references to DragonFlyBSD. Oct 2, 2012
dragonflybsd-moused/debian Changed some FreeBSD references to DragonFlyBSD. Oct 2, 2012
dragonflybsd-quota/debian Replaced references to FreeBSD with references to DragonFlyBSD in dra… Oct 5, 2012
dragonflybsd-sendpr/debian Changed some FreeBSD references to DragonFlyBSD. Oct 2, 2012
dragonflybsd-smbfs/debian Changed some FreeBSD references to DragonFlyBSD. Oct 2, 2012
dragonflybsd-utils/debian
fuse4bsd/debian Move init script to fuse4bsd-dkms. Nov 14, 2011
glibc-ports Add a few more types following upstream changes Jul 26, 2012
istgt/debian Fix version number Sep 9, 2012
kdragonflybsd-3/debian Replaced some kFreeBSD references with kDragonFlyBSD references withi… Oct 9, 2012
kdragonflybsd-defaults/debian Changed some FreeBSD references to DragonFlyBSD. Oct 2, 2012
kdragonflybsd-downloader Changed some FreeBSD references to DragonFlyBSD. Oct 2, 2012
kdragonflybsd-kernel-headers Changed some FreeBSD references to DragonFlyBSD. Oct 2, 2012
libbsd/debian Release libbsd 0.4.2-1 Jun 27, 2012
libmd/debian Set numeric user and group id to 0 for files in get-orig-source May 30, 2011
posixtestsuite/debian Release posixtestsuite 1.5.2-4 Jun 3, 2011
ufsutils/debian Now using Standards-Version 3.9.3 May 17, 2012
web Remove a few obsolete patches Jul 18, 2011
zfsutils/debian Goodbye CIA, Hello KGB (II) Sep 29, 2012
README ToDo: Create pristine .orig.tar.gz file and reuse it. Oct 9, 2012

README

ToDo:
 - Create pristine .orig.tar.gz file and reuse it.
 - Make dragonflybsd-buildutils compile.
 - Fix any issues that arise.
 - Make the kernel compile.
 - Make related packages compile, including the Hammer and Hammer2 file systems.
 - Try to use the kernel with the Hammer or Hammer2 filesystem.
 - Fix any issues that arise.
 - If 'apt-get build-dep' is supposed to include dependencies for building the source package, then add packages fakeroot subversion kernel_wedge to 'apt-get build-dep' for kfreebsd-9.
 - If 'apt-get build-dep' is supposed to include dependencies for building the source package, then add packages fakeroot git kernel_wedge to 'apt-get build-dep' for kdragonflybsd-3.
 - Send kFreeBSD fixes upstream.
 - Port VirtualBox.
 - Take over the world because the DragonFly kernel plus the Hammer file system with low memory block level deduplication plus Debian usability and administration plus VirtualBox virtualization would blow everything else away.

Instructions:
 - These instructions are probably not perfect, so please submit improvements.
 - For development I'm using the 64-bit version of Debian Wheezy in VirtualBox.
 - For testing I'll be using the 64-bit version of kFreeBSD Wheezy and the FreeBSD OS type in VirtualBox.
 - The kFreeBSD Squeeze netboot installer can install kFreeBSD Wheezy. This works at least within the expert option of the installer.
http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-kfreebsd-i386/current/images/netboot/mini.iso
http://ftp.nl.debian.org/debian/dists/squeeze/main/installer-kfreebsd-amd64/current/images/netboot/mini.iso
 - The desktop package in kFreeBSD Wheezy is currently broken.
 - At the bottom of this page there is a a workaround for setting the kFreeBSD keyboard layout.
 - I use sudo rather than su because I prefer it. You can disable root logins within the expert option of the debian installer.
 - Using aptitude is preferred over 'apt-get install' for binary package management but apt-get lends itself to written instructions.
 - sudo apt-get build-dep kfreebsd-9
 - Only do the following 'apt-get install' until 'apt-get build-dep' for kfreebsd-9 includes them, the fix for which is on my ToDo list above.
 - sudo apt-get install fakeroot subversion kernel_wedge devscripts
 - Only do the following 'apt-get install' until 'apt-get build-dep' for kdragonflybsd-3 includes them, the fix for which is on my ToDo list above.
 - sudo apt-get install fakeroot git kernel_wedge devscripts
 - mkdir ~/kbsd-build-comparison
 - cd kbsd-build-comparison
 - mkdir freebsd
 - mkdir dragonflybsd

In one of two console terminals:
 - cd ~/kbsd-build-comparison/freebsd
 - svn checkout svn://svn.debian.org/glibc-bsd/trunk
 - cd trunk/kfreebsd-9/
 - ./debian/rules get-orig-source
 - touch ./debian/control
 - fakeroot ./debian/rules control
 - Copy contents of kfreebsd-9_9.0.orig.tar.gz into kfreebsd-9/debian/
 - debuild -S -us -uc
 - dpkg-buildpackage
 - Fix errors.
 - Commit to git and push to github.
 - Send fix upstream.
 - Install kFreeBSD.
 - Build and install kernel.

In the other console terminal:
 - cd ~/kbsd-build-comparison/dragonflybsd
 - git clone git://github.com/varialus/DragonFlyDebian.git
 - cd DragonFlyBSD/kdragonflybsd-3/
 - ./debian/rules get-orig-source
 - fakeroot ./debian/rules control
 - Copy contents of kdragonflybsd-3_3.0.3.orig.tar.gz into kdragonflybsd-9/debian/
 - debuild -S -us -uc
 - dpkg-buildpackage
 - Fix errors.
 - Commit to git and push to github.
 - Install kFreeBSD.
 - Build and install kernel.
 - Fix errors.
 - Commit to git and push to github.


Setting the kFreeBSD Keyboard Layout:
 - The kFreeBSD installer doesn't set the keyboard layout correctly. This is how I set the layout to dvorak.
 - kbdcontrol -l “us.dvorak”
 - sudo apt-get install console-setup-freebsd console-setup
Something went wrong with that request. Please try again.