summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-05-16 11:35:59 +0300
committerThomas Backlund <tmb@mageia.org>2015-05-16 11:35:59 +0300
commit41f3868799b3d3cee63434741afe830f02c3a0a0 (patch)
tree2b384c5aaba5d9e9e8e5b16242da72d1b67c49d3 /files
parent8246301a16cde0be2c96ca774af2d1c1350afe67 (diff)
downloaddraklive-config-41f3868799b3d3cee63434741afe830f02c3a0a0.tar
draklive-config-41f3868799b3d3cee63434741afe830f02c3a0a0.tar.gz
draklive-config-41f3868799b3d3cee63434741afe830f02c3a0a0.tar.bz2
draklive-config-41f3868799b3d3cee63434741afe830f02c3a0a0.tar.xz
draklive-config-41f3868799b3d3cee63434741afe830f02c3a0a0.zip
only block fglrx on Gnome media
Diffstat (limited to 'files')
-rwxr-xr-xfiles/mga_rpms/GNOME/update_media.sh (renamed from files/mga_rpms/update_media.sh)0
-rwxr-xr-xfiles/mga_rpms/KDE4/update_media.sh52
2 files changed, 52 insertions, 0 deletions
diff --git a/files/mga_rpms/update_media.sh b/files/mga_rpms/GNOME/update_media.sh
index 20c257d..20c257d 100755
--- a/files/mga_rpms/update_media.sh
+++ b/files/mga_rpms/GNOME/update_media.sh
diff --git a/files/mga_rpms/KDE4/update_media.sh b/files/mga_rpms/KDE4/update_media.sh
new file mode 100755
index 0000000..4ea00e2
--- /dev/null
+++ b/files/mga_rpms/KDE4/update_media.sh
@@ -0,0 +1,52 @@
+
+bcdmedia=/home/bcd/build_bcd/pieces/cauldron
+
+# create dirs if non-existant
+mkdir -p {i586,x86_64}/mga_rpms/{core,nonfree}/media_info
+
+# clean dirs
+rm -f {i586,x86_64}/mga_rpms/{core,nonfree}/*.rpm
+rm -f {i586,x86_64}/mga_rpms/{core,nonfree}/media_info/*
+
+# add broadcom-wl
+cp $bcdmedia/i586/media/nonfree/release/broadcom-wl-common*.rpm i586/mga_rpms/nonfree/
+cp $bcdmedia/i586/media/nonfree/release/broadcom-wl-kernel-*-desktop586-*.rpm i586/mga_rpms/nonfree/
+cp $bcdmedia/i586/media/nonfree/release/broadcom-wl-kernel-desktop586-latest-*.rpm i586/mga_rpms/nonfree/
+
+cp $bcdmedia/x86_64/media/nonfree/release/broadcom-wl-common-*.rpm x86_64/mga_rpms/nonfree/
+cp $bcdmedia/x86_64/media/nonfree/release/broadcom-wl-kernel-*-desktop-*.rpm x86_64/mga_rpms/nonfree/
+cp $bcdmedia/x86_64/media/nonfree/release/broadcom-wl-kernel-desktop-latest-*.rpm x86_64/mga_rpms/nonfree/
+
+# add broadcom wireless configs
+cp $bcdmedia/i586/media/core/release/broadcom-*-config-*.rpm i586/mga_rpms/core/
+cp $bcdmedia/x86_64/media/core/release/broadcom-*-config-*.rpm x86_64/mga_rpms/core/
+
+# add grub2 stuff
+cp $bcdmedia/i586/media/core/release/grub2-2*.rpm i586/mga_rpms/core/
+cp $bcdmedia/i586/media/core/release/grub2-efi-2*.rpm i586/mga_rpms/core/
+cp $bcdmedia/i586/media/core/release/grub2-mageia-theme-*.rpm i586/mga_rpms/core/
+cp $bcdmedia/i586/media/core/release/os-prober-*.rpm i586/mga_rpms/core/
+cp $bcdmedia/i586/media/core/release/efibootmgr-*.rpm i586/mga_rpms/core/
+cp $bcdmedia/i586/media/core/release/efivar-*.rpm i586/mga_rpms/core/
+cp $bcdmedia/i586/media/core/release/libefivar0-*.rpm i586/mga_rpms/core/
+
+cp $bcdmedia/x86_64/media/core/release/grub2-2*.rpm x86_64/mga_rpms/core/
+cp $bcdmedia/x86_64/media/core/release/grub2-efi-2*.rpm x86_64/mga_rpms/core/
+cp $bcdmedia/x86_64/media/core/release/grub2-mageia-theme-*.rpm x86_64/mga_rpms/core/
+cp $bcdmedia/x86_64/media/core/release/os-prober-*.rpm x86_64/mga_rpms/core/
+cp $bcdmedia/x86_64/media/core/release/efibootmgr-*.rpm x86_64/mga_rpms/core/
+cp $bcdmedia/x86_64/media/core/release/efivar-*.rpm x86_64/mga_rpms/core/
+cp $bcdmedia/x86_64/media/core/release/lib64efivar0-*.rpm x86_64/mga_rpms/core/
+
+# add repo pubkeys
+cp $bcdmedia/i586/media/core/release/media_info/pubkey i586/mga_rpms/core/media_info/
+cp $bcdmedia/x86_64/media/core/release/media_info/pubkey x86_64/mga_rpms/core/media_info/
+
+cp $bcdmedia/i586/media/nonfree/release/media_info/pubkey i586/mga_rpms/nonfree/media_info/
+cp $bcdmedia/x86_64/media/nonfree/release/media_info/pubkey x86_64/mga_rpms/nonfree/media_info/
+
+# create hdlists
+genhdlist2 i586/mga_rpms/core
+genhdlist2 i586/mga_rpms/nonfree
+genhdlist2 x86_64/mga_rpms/core
+genhdlist2 x86_64/mga_rpms/nonfree