Skip to content

HTTPS clone URL

Subversion checkout URL

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

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.