From b67df736b3443c0b0841c8da7f15ad5643ce8ca3 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sat, 4 Jan 2014 20:39:28 +0100 Subject: add mga3 final build configs --- files/mga_rpms/update_media.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 files/mga_rpms/update_media.sh (limited to 'files/mga_rpms') diff --git a/files/mga_rpms/update_media.sh b/files/mga_rpms/update_media.sh new file mode 100755 index 0000000..f200eab --- /dev/null +++ b/files/mga_rpms/update_media.sh @@ -0,0 +1,42 @@ + +bcdmedia=/home/bcd/build_bcd/pieces/cauldron + +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/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/ + +# 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 -- cgit v1.2.1