Permalink
Browse files

Remove dracut kestrel package

- Upstream Debian dracut package includes an aufs module, and kestrel-plymouth module is packaged inside kestrelcluster-plymouth package, so there is no need for the dracut-kestrel package.
  • Loading branch information...
jonanh committed Mar 31, 2012
1 parent 7f54326 commit 2582da08950bb3f4cf269b63c79dd877dc24680c
View
@@ -1,42 +0,0 @@
-Dracut is a new initramfs infrastructure, very well designed and very efficient.
-
- http://fedoraproject.org/wiki/Dracut
-
- Ubuntu's casper or Debian's live-initramfs are great live modules for the
- initramfs-tools, but also are very complex, and designed with live cd in
- mind.
- We don't need so much features, since our live nodes will have only a bunch
- of services, and we look for a simple and clean solution (KISS).
-
-
-
-Download the latest _patched_ Dracut 007 from :
-
- https://launchpad.net/~kestrel/+archive/kestrelhpc
-
-Build Dracut Debian Package :
-
- debuild -uc -us
-
-
-Note: We don't mantain anymore a Dracut patch inside the tarball of KestrelHPC.
-
-
- Deprecated instructions
-=========================
-
-Official Dracut 007 :
-
- http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=snapshot;h=59a232ddcd1563362fd988037921dab9859042a3;sf=tgz
-
-Create and install the debian package :
-
- tar -xzvf dracut-*.tar.gz
- pushd dracut-*/
- patch -p1 < ../dracut*.diff
- chmod 755 modules.d/90aufs-live/*
- dpkg-buildpackage -us -uc
- popd
- rm -R dracut-*/
- sudo dpkg -i dracut*.deb
-
View
@@ -1,6 +0,0 @@
-dracut-aufs (010) maverick; urgency=low
-
- * dracut 010
-
- -- Jon Ander Hernández <jonan.h@gmail.com> Sun, 03 Apr 2011 14:09:43 +0200
-
View
@@ -1 +0,0 @@
-7
View
@@ -1,14 +0,0 @@
-Source: dracut-aufs
-Section: utils
-Priority: optional
-Maintainer: Jon Ander Hernández <jonan.h@gmail.com>
-Build-Depends: debhelper (>= 7.0)
-Standards-Version: 3.9.1
-Vcs-Browser: https://github.com/jonanh/KestrelHPC/tree/master/dracut
-
-Package: dracut-aufs
-Architecture: all
-Depends: dracut-network, ${misc:Depends}
-Description: Dracut aufs module
- Provides a dracut module for running the system in "live" mode.
-
View
@@ -1,40 +0,0 @@
-This work was packaged for Debian by:
-
- Jon Ander Hernández <jonan.h@gmail.com> on Mon, 18 Oct 2010 23:38:56 +0200
-
-It was downloaded from:
-
- http://kestrelhpc.sourceforge.net
-
-Upstream Author(s):
-
- Jon Ander Hernández <jonan.h@gmail.com>
-
-Copyright:
-
- Copyright (C) 2010, 2011 Jon Ander Hernández
-
-License:
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 2 of the License, or
- (at your option) any later version.
-
- This package is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-On Debian systems, the complete text of the GNU General
-Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
-
-The Debian packaging is:
-
- Copyright (C) 2010, 2011 Jon Ander Hernández <jonan.h@gmail.com>
-
-
-and is licensed under the GPL version 2, see above.
@@ -1 +0,0 @@
-modules.d /usr/share/dracut/
View
@@ -1,5 +0,0 @@
-#!/usr/bin/make -f
-
-%:
- dh $@
-
@@ -1,53 +0,0 @@
-#!/bin/bash
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
-# ex: ts=8 sw=4 sts=4 et filetype=sh
-
-check() {
- THEME=kestrel
- [ -e /lib/plymouth/themes/$THEME ] ||
- [ -e /usr/share/plymouth/themes/$THEME ]
-}
-
-depends() {
- echo "plymouth"
-}
-
-installkernel() {
- # Include KMS capable drm drivers
- for modname in $(find "$srcmods/kernel/drivers/gpu/drm" "$srcmods/extra" -name '*.ko' 2>/dev/null); do
- grep -q drm_crtc_init $modname && instmods $modname
- done
-}
-
-install() {
-
- THEME=kestrel
-
- # Ubuntu stores themes on /lib/plymouth/themes
- [ -e /lib/plymouth/themes/$THEME ] &&
- THEME_PATH=/lib/plymouth/themes
-
- # Debian stores themes on /usr/share/plymouth/themes
- [ -e /usr/share/plymouth/themes/$THEME ] &&
- THEME_PATH=/usr/share/plymouth/themes
-
- PLUGIN_PATH=$(plymouth --get-splash-plugin-path)
-
- THEME_FILE=${THEME_PATH}/${THEME}/${THEME}.plymouth
-
- [ -d "${THEME_PATH}/${THEME}" ] &&
- for x in ${THEME_PATH}/${THEME}/* ; do
- [ -f "$x" ] && inst $x
- done
-
- MODULE="$(sed -n 's/^ModuleName=\(.*\)/\1/p' ${THEME_FILE}).so"
- [ -e "${PLUGIN_PATH}/${MODULE}" ] &&
- inst ${PLUGIN_PATH}/${MODULE}
-
- IMAGE_DIR="$(sed -n 's/^ImageDir=\(.*\)/\1/p' ${THEME_FILE})"
- [ -d "${IMAGE_DIR}" ] &&
- for x in ${IMAGE_DIR}/* ; do
- [ -f "$x" ] && inst $x
- done
-
-}
@@ -1,14 +0,0 @@
-#!/bin/sh
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
-# ex: ts=8 sw=4 sts=4 et filetype=sh
-
-if [ -n "${root_persistence}" ]; then
- {
- printf 'KERNEL=="%s", SYMLINK+="livepersistence"\n' \
- ${root_persistence#/dev/}
- printf 'SYMLINK=="%s", SYMLINK+="livepersistence"\n' \
- ${root_persistence#/dev/}
- } >> $UDEVRULESD/99-live-persistence-mount.rules
-
- echo '[ -e "/dev/livepersistence" ]' > $hookdir/initqueue/finished/livepersistence.sh
-fi
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-if [ -n "$aufslive" ]; then
-
- modprobe aufs
-
- mkdir /live
- mkdir /ro-root
-
- mount --move $NEWROOT /ro-root
-
- if [ -z "${root_persistence}" ]; then
- mount -t tmpfs -o rw,noatime,mode=755 tmpfs /live
- else
- mount -t auto -o rw,noatime /dev/livepersistence /live
- fi
-
- mount -t aufs -o noatime,dirs=/live=rw:/ro-root=rr aufs $NEWROOT
-
- for dir in live ro-root; do
- mkdir -p $NEWROOT/media/${dir}
- mount --move /${dir} $NEWROOT/media/${dir}
- done
-
-fi
@@ -1,13 +0,0 @@
-#!/bin/bash
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
-# ex: ts=8 sw=4 sts=4 et filetype=sh
-
-installkernel() {
- instmods aufs
-}
-
-install() {
- inst_hook cmdline 30 "$moddir/parse-live.sh"
- inst_hook pre-udev 30 "$moddir/aufslive-genrules.sh"
- inst_hook pre-pivot 90 "$moddir/live-mount.sh"
-}
@@ -1,30 +0,0 @@
-#!/bin/sh
-# aufs live images are specified with
-# aufslive root_persistence={LABEL|UUID|/dev/}=
-
-if getarg aufslive; then
- aufslive=1
-else
- return
-fi
-
-[ -z "$root_persistence" ] && root_persistence=$(getarg root_persistence=)
-
-case "$root_persistence" in
- live:LABEL=*|LABEL=*)
- root_persistence="$(echo $root | sed 's,/,\\x2f,g')"
- root_persistence="live:/dev/disk/by-label/${root#LABEL=}"
- ;;
- live:CDLABEL=*|CDLABEL=*)
- root_persistence="$(echo $root | sed 's,/,\\x2f,g')"
- root_persistence="live:/dev/disk/by-label/${root#CDLABEL=}"
- ;;
- live:UUID=*|UUID=*)
- root_persistence="live:/dev/disk/by-uuid/${root#UUID=}"
- ;;
- live:/dev/*)
- ;;
- *)
- unset root_persistence
-esac
-info "AufsLive mode, root_persistence is now $root_persistence"

0 comments on commit 2582da0

Please sign in to comment.