diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-05-18 00:50:33 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-05-18 00:50:33 +0200 |
commit | aa7084f1842446a22d29d6ff74a5f0f109710ac3 (patch) | |
tree | d10700011467ff34f82cb420f34e9c03df8294a4 /config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom | |
parent | c4eecb887cee6e00d255bf52d6612ecc9445fcff (diff) | |
download | kanotix-aa7084f1842446a22d29d6ff74a5f0f109710ac3.zip kanotix-aa7084f1842446a22d29d6ff74a5f0f109710ac3.tar.gz |
moved gfxoverlay-code to debian-package gfxoverlay
Diffstat (limited to 'config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom')
3 files changed, 0 insertions, 48 deletions
diff --git a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay deleted file mode 100755 index e78ede8..0000000 --- a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -[ ! -f /etc/gfxoverlay ] && exit 0 - -gfx="$(cat /etc/gfxoverlay)" -bit=32 -[ "$(uname -m)" = "x86_64" ] && bit=64 - -mkdir -p /live/gfxoverlay /root/live/gfxoverlay -for overlay in /root/live/image/gfxoverlay/overlay.* /root/live/image/gfxoverlay/$gfx.* /root/live/image/gfxoverlay.* -do - [ ! -e "$overlay" ] && continue - mount -o loop "$overlay" /live/gfxoverlay - for dir in /live/gfxoverlay/overlay$bit-$gfx /live/gfxoverlay/$gfx /live/gfxoverlay - do - if [ -d $dir/lib ]; then - mount -o remount,add:1:$dir /root - mount -n -o move /live/gfxoverlay /root/live/gfxoverlay - echo "$gfx" > /root/live/gfxoverlay.active - exit 0 - fi - done - umount /live/gfxoverlay -done -rmdir /live/gfxoverlay /root/live/gfxoverlay - diff --git a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/02blacklist b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/02blacklist deleted file mode 100755 index 1312363..0000000 --- a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/02blacklist +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if [ -e /etc/modprobe.d/initramfs.conf ]; then - cp /etc/modprobe.d/initramfs.conf /root/etc/modprobe.d/initramfs.conf -fi - diff --git a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/03rpmfirmware b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/03rpmfirmware deleted file mode 100755 index b1ead30..0000000 --- a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/03rpmfirmware +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -img=/root/live/image/boot.efi.img - -cd /root -if [ -e "$img" ]; then - mkdir -p live/efipart - mount -o loop "$img" live/efipart - for file in live/efipart/*firmware*rpm - do - [ -e "$file" ] && /bin/chroot . rpm2cpio "/$file" | cpio -i - done - umount live/efipart - rmdir live/efipart -fi - |