How To
This page is mostly here for me, helping remember some useful tricks.
- How to chroot from one distro to another
--chroot from debian into archlinux
first, mount needed stuff
Welcome to Archlinux!
-- restart network
That's it!
--chroot from archlinux into debian
first, mount needed stuff
Welcome to Debian!
That's it!
- How to contribute to KDE (aka sending patches)
example : kdevplatform
- clone : git clone kde:kdevplatform
- branch : git checkout -b bugfix
- dev & tests
- commit
- git format-patch (just as a precaution)
sending patch to git.reviewboard.kde.org :
- from bugfix branch : post-review --parent=master
more infos :
:: http://en.flossmanuals.net/kde-guide/
:: http://techbase.kde.org/Development
:: http://techbase.kde.org/Development/Git
:: http://techbase.kde.org/Development/Review_Board
- How to chroot from one distro to another
--chroot from debian into archlinux
first, mount needed stuff
$ sudo mount -t proc proc /mnt/arch/sys/proc
$ sudo mount -t sysfs sys /mnt/arch/sys/sys
$ sudo mount -o bind /dev /mnt/arch/sys/dev
$ sudo mount -t devpts pts /mnt/arch/sys/dev/pts
$ sudo mount -o bind /mnt/arch/home/ /mnt/arch/sys/home/
$ sudo chroot /mnt/arch/sys/ /bin/bash
Welcome to Archlinux!
-- restart network
[root@katalyn /]#rc.d restart network
That's it!
--chroot from archlinux into debian
first, mount needed stuff
$ sudo mount -t proc proc /mnt/debian/sys/proc
$ sudo mount -t sysfs sys /mnt/debian/sys/sys
$ sudo mount -o bind /dev /mnt/debian/sys/dev
$ sudo mount -t devpts pts /mnt/debian/sys/dev/pts
$ sudo mount -o bind /mnt/debian/home/ /mnt/debian/sys/home/
$ sudo chroot /mnt/debian/sys/ /bin/bash
Welcome to Debian!
That's it!
- How to contribute to KDE (aka sending patches)
example : kdevplatform
- clone : git clone kde:kdevplatform
- branch : git checkout -b bugfix
- dev & tests
- commit
- git format-patch (just as a precaution)
sending patch to git.reviewboard.kde.org :
- from bugfix branch : post-review --parent=master
more infos :
:: http://en.flossmanuals.net/kde-guide/
:: http://techbase.kde.org/Development
:: http://techbase.kde.org/Development/Git
:: http://techbase.kde.org/Development/Review_Board