From 64d4738efa3a2f222f228f39dec5d2b2fcfc6067 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Wed, 6 Mar 2019 11:04:40 +0100 Subject: [PATCH 01/12] =?UTF-8?q?suppression=20de=20certain=20paquets=20po?= =?UTF-8?q?uvant=20g=C3=A9ner=20l'installation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_inst.cfg.pl | 301 +---------------- auto_inst.cfg_fullauto.pl | 305 +---------------- auto_inst.cfg_upgrade.pl | 681 +------------------------------------- 3 files changed, 5 insertions(+), 1282 deletions(-) diff --git a/auto_inst.cfg.pl b/auto_inst.cfg.pl index ec6c99a..6940865 100755 --- a/auto_inst.cfg.pl +++ b/auto_inst.cfg.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -cw -# +# # You should check the syntax of this file before using it in an auto-install. # You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file # (note the '#!/usr/bin/perl -cw' on the first line). @@ -51,7 +51,6 @@ $o = { 'dconf', 'dcraw', 'dhcp-client', - 'digikam', 'dmraid', 'dnf', 'dnf-plugins-core', @@ -66,8 +65,6 @@ $o = { 'drakxtools-curses', 'dump', 'dvdauthor', - 'efax', - 'ekiga', 'enchant', 'enscript', 'eventviews', @@ -91,7 +88,6 @@ $o = { 'gimp', 'gimp-help-fr', 'glib2.0-common', - 'gnome-packagekit-common', 'gnupg', 'gnupg2', 'gphoto2', @@ -100,15 +96,6 @@ $o = { 'grub2', 'grub2-common', 'grub2-mageia-theme', - 'gstreamer0.10-dirac', - 'gstreamer0.10-faad', - 'gstreamer0.10-lame', - 'gstreamer0.10-mms', - 'gstreamer0.10-musepack', - 'gstreamer0.10-plugins-ugly', - 'gstreamer0.10-pulse', - 'gstreamer0.10-resindvd', - 'gstreamer0.10-xvid', 'gstreamer1.0-a52dec', 'gstreamer1.0-amrnb', 'gstreamer1.0-cdio', @@ -181,7 +168,6 @@ $o = { 'kdegraphics-mobipocket', 'kdegraphics-thumbnailers', 'kdenlive', - 'kdepim-addons', 'kdeplasma-addons', 'kdesu', 'kdnssd', @@ -216,7 +202,6 @@ $o = { 'kldap-handbook', 'kleopatra-handbook', 'kmail', - 'kmail', 'kmailtransport', 'kmailtransport-handbook', 'kmenuedit', @@ -225,8 +210,6 @@ $o = { 'knotifyconfig', 'kolourpaint', 'kolourpaint-handbook', - 'konq-plugins', - 'konqueror-handbook', 'konsole-doc', 'kontact', 'kontact-handbook', @@ -234,7 +217,6 @@ $o = { 'konversation', 'korganizer', 'kpeople', - 'krb5', 'kross', 'krunner', 'kscreen', @@ -258,271 +240,6 @@ $o = { 'ldetect', 'ldetect-lst', 'lftp', - 'lib64adblocklibprivate5', - 'lib64addressbookprivate5', - 'lib64akonadi-filestore5', - 'lib64akonadi-singlefileresource5', - 'lib64akonadiprivate5', - 'lib64alsa-plugins', - 'lib64alsa-plugins-pulseaudio', - 'lib64appstreamqt2', - 'lib64archive13', - 'lib64attica5', - 'lib64avcodec57', - 'lib64avfilter6', - 'lib64avformat57', - 'lib64avutil55', - 'lib64boost_iostreams1.60.0', - 'lib64boost_signals1.60.0', - 'lib64cairo-gir1.0', - 'lib64canberra-gtk0', - 'lib64cdio16', - 'lib64cdt5', - 'lib64db5.3', - 'lib64dolphinprivate5', - 'lib64dolphinvcs5', - 'lib64dri-drivers', - 'lib64drm_amdgpu1', - 'lib64drm_intel1', - 'lib64drm_nouveau2', - 'lib64drm_radeon1', - 'lib64exif12', - 'lib64exiv2_26', - 'lib64farstream-plugins0.2', - 'lib64fftw3', - 'lib64folderarchivesettings5', - 'lib64fontconfig-gir2.0', - 'lib64freetype6', - 'lib64gd3', - 'lib64gdk_pixbuf-gir2.0', - 'lib64gdk_pixbuf2.0_0', - 'lib64glapi0', - 'lib64glib-networking', - 'lib64gs9', - 'lib64gstbadaudio1.0_0', - 'lib64gstbadbase1.0_0', - 'lib64gstbasecamerabinsrc1.0_0', - 'lib64gstbasevideo0.10_0', - 'lib64gstmpegts1.0_0', - 'lib64gstphotography1.0_0', - 'lib64gwenviewlib4', - 'lib64icalss2', - 'lib64icalvcal2', - 'lib64javascriptcore-gir3.0', - 'lib64javascriptcore-gir4.0', - 'lib64javascriptcoregtk4.0_18', - 'lib64jbig2dec0', - 'lib64kaccounts16', - 'lib64kaddressbookimportexportlibprivate5', - 'lib64kaddressbookmergelibprivate5', - 'lib64karchive5', - 'lib64kbookmarkmodel_private_5', - 'lib64kdc-samba4_2', - 'lib64kf5activities5', - 'lib64kf5activitiesstats5', - 'lib64kf5addressbookgrantlee5', - 'lib64kf5addressbookimportexport_5', - 'lib64kf5akonadiagentbase5', - 'lib64kf5akonadinotes5', - 'lib64kf5akonadisearchdebug5', - 'lib64kf5akonadisearchpim5', - 'lib64kf5akonadiwidgets5', - 'lib64kf5akonadixml5', - 'lib64kf5baloowidgets5', - 'lib64kf5bluezqt5', - 'lib64kf5bookmarks5', - 'lib64kf5calendarsupport5', - 'lib64kf5calendarutils5', - 'lib64kf5completion5', - 'lib64kf5coreaddons5', - 'lib64kf5dcraw5', - 'lib64kf5declarative5', - 'lib64kf5decoration5', - 'lib64kf5decorationprivate5', - 'lib64kf5exiv2_5', - 'lib64kf5filemetadata5', - 'lib64kf5grantleetheme5', - 'lib64kf5guiaddons5', - 'lib64kf5holidays5', - 'lib64kf5iconthemes5', - 'lib64kf5identitymanagement5', - 'lib64kf5idletime5', - 'lib64kf5imap5', - 'lib64kf5js5', - 'lib64kf5jsembed5', - 'lib64kf5kcmutils5', - 'lib64kf5kcontacts5', - 'lib64kf5kdepimdbusinterfaces5', - 'lib64kf5kdnssd5', - 'lib64kf5khtml5', - 'lib64kf5kiocore5', - 'lib64kf5kipi5', - 'lib64kf5kirigami2_5', - 'lib64kf5kleopatraclientcore1', - 'lib64kf5kleopatraclientgui1', - 'lib64kf5krosscore5', - 'lib64kf5kscreen5', - 'lib64kf5ksieve5', - 'lib64kf5ksieveui5', - 'lib64kf5ldap5', - 'lib64kf5libkdepim5', - 'lib64kf5libkleo_5', - 'lib64kf5mailimporter5', - 'lib64kf5mailtransport5', - 'lib64kf5managesieve5', - 'lib64kf5mbox5', - 'lib64kf5messagecore5', - 'lib64kf5messageviewer5', - 'lib64kf5mimetreeparser5', - 'lib64kf5newstuffcore5', - 'lib64kf5peoplebakend5', - 'lib64kf5peoplewidgets5', - 'lib64kf5pimcommon5', - 'lib64kf5pimtextedit5', - 'lib64kf5plasmaquick5', - 'lib64kf5pty5', - 'lib64kf5quickaddons5', - 'lib64kf5sane5', - 'lib64kf5sendlater_5', - 'lib64kf5solid5', - 'lib64kf5sonnetui5', - 'lib64kf5style5', - 'lib64kf5syndication5', - 'lib64kf5textwidgets5', - 'lib64kf5wallet5', - 'lib64kf5walletbackend55', - 'lib64kf5webengineviewer5', - 'lib64kf5widgetsaddons5', - 'lib64kf5xmlgui5', - 'lib64kitemmodels5', - 'lib64kitemviews5', - 'lib64kmailprivate5', - 'lib64kms1', - 'lib64knotesprivate5', - 'lib64kolourpaint_lgpl5', - 'lib64konquerorprivate5', - 'lib64krb53', - 'lib64kscreenlocker5', - 'lib64ksignalplotter5', - 'lib64ktcore16', - 'lib64ktpaccountskcminternal16', - 'lib64ktplogger9', - 'lib64ktpotr9', - 'lib64kwin5', - 'lib64lensfun1', - 'lib64maildir5', - 'lib64mesaegl1', - 'lib64mesagl1', - 'lib64mesaglu1', - 'lib64milou5', - 'lib64minizip1', - 'lib64mp3lame0', - 'lib64mpg123_0', - 'lib64ncursesw6', - 'lib64notesharedprivate5', - 'lib64opal3.10.10', - 'lib64openjp2_7', - 'lib64openssl1.0.0', - 'lib64pano13_3', - 'lib64pathplan4', - 'lib64pcre1', - 'lib64phonon4qt5experimental4', - 'lib64plasmacomicprovidercore1', - 'lib64poppler-glib8', - 'lib64poppler-qt5_1', - 'lib64processcore5', - 'lib64processui5', - 'lib64proxy-webkit', - 'lib64purple0', - 'lib64python2.7', - 'lib64python2.7-stdlib', - 'lib64python3.5-stdlib', - 'lib64qmobipocket2', - 'lib64qt5-database-plugin-mysql', - 'lib64qt5-database-plugin-sqlite', - 'lib64qt5dbus5', - 'lib64qt5gui5', - 'lib64qt5multimediaquick_p5', - 'lib64qt5multimediawidgets5', - 'lib64qt5positioning5', - 'lib64qt5printsupport5', - 'lib64qt5quickwidgets5', - 'lib64qt5webchannel5', - 'lib64qt5webenginecore5', - 'lib64qt5webkitwidgets5', - 'lib64quicktime0', - 'lib64raw16', - 'lib64recode0', - 'lib64rtmp1', - 'lib64ruby2.2', - 'lib64samba-dc0', - 'lib64skgbankgui2', - 'lib64skgbankmodeler2', - 'lib64skgbasegui2', - 'lib64sox3', - 'lib64swresample2', - 'lib64swscaler4', - 'lib64syntaxhighlighting5', - 'lib64systemd0', - 'lib64taglib1', - 'lib64talloc2', - 'lib64taskmanager5', - 'lib64tiff5', - 'lib64vlc5', - 'lib64vlccore9', - 'lib64vorbis0', - 'lib64vorbisenc2', - 'lib64vorbisfile3', - 'lib64wacom2', - 'lib64wayland-client0', - 'lib64wayland-cursor0', - 'lib64wayland-egl1', - 'lib64wayland-server0', - 'lib64webkit-gir3.0', - 'lib64webkit2gtk-gir4.0', - 'lib64xatracker2', - 'lib64xcursor1', - 'lib64xfont1', - 'lib64xfont2_2', - 'lib64xfs1', - 'lib64xft-gir2.0', - 'lib64zip4', - 'libdca-tools', - 'libdrakx-net', - 'libdrm-common', - 'libinput-tools', - 'libkdepim', - 'libksane', - 'libkscreen', - 'libksieve', - 'libksieve-handbook', - 'libktorrent-common', - 'liblangtag', - 'libmtp-utils', - 'libofx', - 'libpano13-tools', - 'libpwquality-tools', - 'libquicktime-dv', - 'libquicktime-faad', - 'libquicktime-lame', - 'libquicktime-x264', - 'libreoffice-base', - 'libreoffice-data', - 'libreoffice-emailmerge', - 'libreoffice-graphicfilter', - 'libreoffice-gtk3', - 'libreoffice-impress', - 'libreoffice-langpack-fr', - 'libreoffice-math', - 'libreoffice-pdfimport', - 'libreoffice-wiki-publisher', - 'libreoffice-writer', - 'libreoffice-xsltfilter', - 'libsecret-tools', - 'libsolv-tools', - 'libuser', - 'libxml2-python', - 'libxml2-utils', 'locales', 'lsof', 'lvm2', @@ -544,7 +261,6 @@ $o = { 'mgaonline', 'microcode', 'microcode_ctl', - 'mirrordir', 'mjpegtools', 'mkxauth', 'mlocate', @@ -579,8 +295,6 @@ $o = { 'os-prober', 'oxygen-icons5', 'p7zip', - 'packagekit-gstreamer-plugin', - 'packagekit-gtk-module', 'patch', 'perl-Time-HiRes', 'perl-XML-LibXML', @@ -600,14 +314,9 @@ $o = { 'pulseaudio-module-gconf', 'pulseaudio-module-zeroconf', 'python', - 'python2-rpm', 'python3-dnf-plugins-core', 'python3-rpm', 'python3-smbc', - 'qtbase5-common', - 'qtdeclarative5', - 'qtgraphicaleffects5', - 'qtimageformats5', 'qttools5', 'qttools5-assistant', 'radeon-firmware', @@ -621,10 +330,7 @@ $o = { 'rootcerts-java', 'rpm', 'rsync', - 'rtlwifi-firmware', 's2u', - 'samba-client', - 'samba-common', 'sane-backends-iscan', 'screen', 'scribus', @@ -665,11 +371,8 @@ $o = { 'ufraw-gimp', 'unar', 'usbutils', - 'vaapi-driver-intel', - 'vboxadditions-kernel-desktop-latest', 'vim-enhanced', 'vim-minimal', - 'virtualbox-guest-additions', 'vlc', 'vlc-plugin-common', 'vlc-plugin-flac', @@ -679,8 +382,6 @@ $o = { 'vlc-plugin-theora', 'vorbis-tools', 'vorbisgain', - 'webkit1.0', - 'webkit2', 'wget', 'wireless-tools', 'words', diff --git a/auto_inst.cfg_fullauto.pl b/auto_inst.cfg_fullauto.pl index 76a337a..c57b436 100755 --- a/auto_inst.cfg_fullauto.pl +++ b/auto_inst.cfg_fullauto.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -cw -# +# # You should check the syntax of this file before using it in an auto-install. # You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file # (note the '#!/usr/bin/perl -cw' on the first line). @@ -19,7 +19,7 @@ $o = { }, 'autoExitInstall' => '0', 'default_packages' => [ - 'acpi', + 'acpi', 'acpid', 'akonadi', 'akonadi-import-wizard', @@ -51,7 +51,6 @@ $o = { 'dconf', 'dcraw', 'dhcp-client', - 'digikam', 'dmraid', 'dnf', 'dnf-plugins-core', @@ -66,8 +65,6 @@ $o = { 'drakxtools-curses', 'dump', 'dvdauthor', - 'efax', - 'ekiga', 'enchant', 'enscript', 'eventviews', @@ -91,7 +88,6 @@ $o = { 'gimp', 'gimp-help-fr', 'glib2.0-common', - 'gnome-packagekit-common', 'gnupg', 'gnupg2', 'gphoto2', @@ -100,15 +96,6 @@ $o = { 'grub2', 'grub2-common', 'grub2-mageia-theme', - 'gstreamer0.10-dirac', - 'gstreamer0.10-faad', - 'gstreamer0.10-lame', - 'gstreamer0.10-mms', - 'gstreamer0.10-musepack', - 'gstreamer0.10-plugins-ugly', - 'gstreamer0.10-pulse', - 'gstreamer0.10-resindvd', - 'gstreamer0.10-xvid', 'gstreamer1.0-a52dec', 'gstreamer1.0-amrnb', 'gstreamer1.0-cdio', @@ -181,7 +168,6 @@ $o = { 'kdegraphics-mobipocket', 'kdegraphics-thumbnailers', 'kdenlive', - 'kdepim-addons', 'kdeplasma-addons', 'kdesu', 'kdnssd', @@ -216,7 +202,6 @@ $o = { 'kldap-handbook', 'kleopatra-handbook', 'kmail', - 'kmail', 'kmailtransport', 'kmailtransport-handbook', 'kmenuedit', @@ -225,8 +210,6 @@ $o = { 'knotifyconfig', 'kolourpaint', 'kolourpaint-handbook', - 'konq-plugins', - 'konqueror-handbook', 'konsole-doc', 'kontact', 'kontact-handbook', @@ -234,7 +217,6 @@ $o = { 'konversation', 'korganizer', 'kpeople', - 'krb5', 'kross', 'krunner', 'kscreen', @@ -258,271 +240,6 @@ $o = { 'ldetect', 'ldetect-lst', 'lftp', - 'lib64adblocklibprivate5', - 'lib64addressbookprivate5', - 'lib64akonadi-filestore5', - 'lib64akonadi-singlefileresource5', - 'lib64akonadiprivate5', - 'lib64alsa-plugins', - 'lib64alsa-plugins-pulseaudio', - 'lib64appstreamqt2', - 'lib64archive13', - 'lib64attica5', - 'lib64avcodec57', - 'lib64avfilter6', - 'lib64avformat57', - 'lib64avutil55', - 'lib64boost_iostreams1.60.0', - 'lib64boost_signals1.60.0', - 'lib64cairo-gir1.0', - 'lib64canberra-gtk0', - 'lib64cdio16', - 'lib64cdt5', - 'lib64db5.3', - 'lib64dolphinprivate5', - 'lib64dolphinvcs5', - 'lib64dri-drivers', - 'lib64drm_amdgpu1', - 'lib64drm_intel1', - 'lib64drm_nouveau2', - 'lib64drm_radeon1', - 'lib64exif12', - 'lib64exiv2_26', - 'lib64farstream-plugins0.2', - 'lib64fftw3', - 'lib64folderarchivesettings5', - 'lib64fontconfig-gir2.0', - 'lib64freetype6', - 'lib64gd3', - 'lib64gdk_pixbuf-gir2.0', - 'lib64gdk_pixbuf2.0_0', - 'lib64glapi0', - 'lib64glib-networking', - 'lib64gs9', - 'lib64gstbadaudio1.0_0', - 'lib64gstbadbase1.0_0', - 'lib64gstbasecamerabinsrc1.0_0', - 'lib64gstbasevideo0.10_0', - 'lib64gstmpegts1.0_0', - 'lib64gstphotography1.0_0', - 'lib64gwenviewlib4', - 'lib64icalss2', - 'lib64icalvcal2', - 'lib64javascriptcore-gir3.0', - 'lib64javascriptcore-gir4.0', - 'lib64javascriptcoregtk4.0_18', - 'lib64jbig2dec0', - 'lib64kaccounts16', - 'lib64kaddressbookimportexportlibprivate5', - 'lib64kaddressbookmergelibprivate5', - 'lib64karchive5', - 'lib64kbookmarkmodel_private_5', - 'lib64kdc-samba4_2', - 'lib64kf5activities5', - 'lib64kf5activitiesstats5', - 'lib64kf5addressbookgrantlee5', - 'lib64kf5addressbookimportexport_5', - 'lib64kf5akonadiagentbase5', - 'lib64kf5akonadinotes5', - 'lib64kf5akonadisearchdebug5', - 'lib64kf5akonadisearchpim5', - 'lib64kf5akonadiwidgets5', - 'lib64kf5akonadixml5', - 'lib64kf5baloowidgets5', - 'lib64kf5bluezqt5', - 'lib64kf5bookmarks5', - 'lib64kf5calendarsupport5', - 'lib64kf5calendarutils5', - 'lib64kf5completion5', - 'lib64kf5coreaddons5', - 'lib64kf5dcraw5', - 'lib64kf5declarative5', - 'lib64kf5decoration5', - 'lib64kf5decorationprivate5', - 'lib64kf5exiv2_5', - 'lib64kf5filemetadata5', - 'lib64kf5grantleetheme5', - 'lib64kf5guiaddons5', - 'lib64kf5holidays5', - 'lib64kf5iconthemes5', - 'lib64kf5identitymanagement5', - 'lib64kf5idletime5', - 'lib64kf5imap5', - 'lib64kf5js5', - 'lib64kf5jsembed5', - 'lib64kf5kcmutils5', - 'lib64kf5kcontacts5', - 'lib64kf5kdepimdbusinterfaces5', - 'lib64kf5kdnssd5', - 'lib64kf5khtml5', - 'lib64kf5kiocore5', - 'lib64kf5kipi5', - 'lib64kf5kirigami2_5', - 'lib64kf5kleopatraclientcore1', - 'lib64kf5kleopatraclientgui1', - 'lib64kf5krosscore5', - 'lib64kf5kscreen5', - 'lib64kf5ksieve5', - 'lib64kf5ksieveui5', - 'lib64kf5ldap5', - 'lib64kf5libkdepim5', - 'lib64kf5libkleo_5', - 'lib64kf5mailimporter5', - 'lib64kf5mailtransport5', - 'lib64kf5managesieve5', - 'lib64kf5mbox5', - 'lib64kf5messagecore5', - 'lib64kf5messageviewer5', - 'lib64kf5mimetreeparser5', - 'lib64kf5newstuffcore5', - 'lib64kf5peoplebakend5', - 'lib64kf5peoplewidgets5', - 'lib64kf5pimcommon5', - 'lib64kf5pimtextedit5', - 'lib64kf5plasmaquick5', - 'lib64kf5pty5', - 'lib64kf5quickaddons5', - 'lib64kf5sane5', - 'lib64kf5sendlater_5', - 'lib64kf5solid5', - 'lib64kf5sonnetui5', - 'lib64kf5style5', - 'lib64kf5syndication5', - 'lib64kf5textwidgets5', - 'lib64kf5wallet5', - 'lib64kf5walletbackend55', - 'lib64kf5webengineviewer5', - 'lib64kf5widgetsaddons5', - 'lib64kf5xmlgui5', - 'lib64kitemmodels5', - 'lib64kitemviews5', - 'lib64kmailprivate5', - 'lib64kms1', - 'lib64knotesprivate5', - 'lib64kolourpaint_lgpl5', - 'lib64konquerorprivate5', - 'lib64krb53', - 'lib64kscreenlocker5', - 'lib64ksignalplotter5', - 'lib64ktcore16', - 'lib64ktpaccountskcminternal16', - 'lib64ktplogger9', - 'lib64ktpotr9', - 'lib64kwin5', - 'lib64lensfun1', - 'lib64maildir5', - 'lib64mesaegl1', - 'lib64mesagl1', - 'lib64mesaglu1', - 'lib64milou5', - 'lib64minizip1', - 'lib64mp3lame0', - 'lib64mpg123_0', - 'lib64ncursesw6', - 'lib64notesharedprivate5', - 'lib64opal3.10.10', - 'lib64openjp2_7', - 'lib64openssl1.0.0', - 'lib64pano13_3', - 'lib64pathplan4', - 'lib64pcre1', - 'lib64phonon4qt5experimental4', - 'lib64plasmacomicprovidercore1', - 'lib64poppler-glib8', - 'lib64poppler-qt5_1', - 'lib64processcore5', - 'lib64processui5', - 'lib64proxy-webkit', - 'lib64purple0', - 'lib64python2.7', - 'lib64python2.7-stdlib', - 'lib64python3.5-stdlib', - 'lib64qmobipocket2', - 'lib64qt5-database-plugin-mysql', - 'lib64qt5-database-plugin-sqlite', - 'lib64qt5dbus5', - 'lib64qt5gui5', - 'lib64qt5multimediaquick_p5', - 'lib64qt5multimediawidgets5', - 'lib64qt5positioning5', - 'lib64qt5printsupport5', - 'lib64qt5quickwidgets5', - 'lib64qt5webchannel5', - 'lib64qt5webenginecore5', - 'lib64qt5webkitwidgets5', - 'lib64quicktime0', - 'lib64raw16', - 'lib64recode0', - 'lib64rtmp1', - 'lib64ruby2.2', - 'lib64samba-dc0', - 'lib64skgbankgui2', - 'lib64skgbankmodeler2', - 'lib64skgbasegui2', - 'lib64sox3', - 'lib64swresample2', - 'lib64swscaler4', - 'lib64syntaxhighlighting5', - 'lib64systemd0', - 'lib64taglib1', - 'lib64talloc2', - 'lib64taskmanager5', - 'lib64tiff5', - 'lib64vlc5', - 'lib64vlccore9', - 'lib64vorbis0', - 'lib64vorbisenc2', - 'lib64vorbisfile3', - 'lib64wacom2', - 'lib64wayland-client0', - 'lib64wayland-cursor0', - 'lib64wayland-egl1', - 'lib64wayland-server0', - 'lib64webkit-gir3.0', - 'lib64webkit2gtk-gir4.0', - 'lib64xatracker2', - 'lib64xcursor1', - 'lib64xfont1', - 'lib64xfont2_2', - 'lib64xfs1', - 'lib64xft-gir2.0', - 'lib64zip4', - 'libdca-tools', - 'libdrakx-net', - 'libdrm-common', - 'libinput-tools', - 'libkdepim', - 'libksane', - 'libkscreen', - 'libksieve', - 'libksieve-handbook', - 'libktorrent-common', - 'liblangtag', - 'libmtp-utils', - 'libofx', - 'libpano13-tools', - 'libpwquality-tools', - 'libquicktime-dv', - 'libquicktime-faad', - 'libquicktime-lame', - 'libquicktime-x264', - 'libreoffice-base', - 'libreoffice-data', - 'libreoffice-emailmerge', - 'libreoffice-graphicfilter', - 'libreoffice-gtk3', - 'libreoffice-impress', - 'libreoffice-langpack-fr', - 'libreoffice-math', - 'libreoffice-pdfimport', - 'libreoffice-wiki-publisher', - 'libreoffice-writer', - 'libreoffice-xsltfilter', - 'libsecret-tools', - 'libsolv-tools', - 'libuser', - 'libxml2-python', - 'libxml2-utils', 'locales', 'lsof', 'lvm2', @@ -544,7 +261,6 @@ $o = { 'mgaonline', 'microcode', 'microcode_ctl', - 'mirrordir', 'mjpegtools', 'mkxauth', 'mlocate', @@ -579,8 +295,6 @@ $o = { 'os-prober', 'oxygen-icons5', 'p7zip', - 'packagekit-gstreamer-plugin', - 'packagekit-gtk-module', 'patch', 'perl-Time-HiRes', 'perl-XML-LibXML', @@ -600,14 +314,9 @@ $o = { 'pulseaudio-module-gconf', 'pulseaudio-module-zeroconf', 'python', - 'python2-rpm', 'python3-dnf-plugins-core', 'python3-rpm', 'python3-smbc', - 'qtbase5-common', - 'qtdeclarative5', - 'qtgraphicaleffects5', - 'qtimageformats5', 'qttools5', 'qttools5-assistant', 'radeon-firmware', @@ -621,10 +330,7 @@ $o = { 'rootcerts-java', 'rpm', 'rsync', - 'rtlwifi-firmware', 's2u', - 'samba-client', - 'samba-common', 'sane-backends-iscan', 'screen', 'scribus', @@ -665,11 +371,8 @@ $o = { 'ufraw-gimp', 'unar', 'usbutils', - 'vaapi-driver-intel', - 'vboxadditions-kernel-desktop-latest', 'vim-enhanced', 'vim-minimal', - 'virtualbox-guest-additions', 'vlc', 'vlc-plugin-common', 'vlc-plugin-flac', @@ -679,8 +382,6 @@ $o = { 'vlc-plugin-theora', 'vorbis-tools', 'vorbisgain', - 'webkit1.0', - 'webkit2', 'wget', 'wireless-tools', 'words', @@ -698,7 +399,7 @@ $o = { 'yelp', 'zeroconf-ioslave', 'zip' - ], + ], 'enabled_media' => [ 'Core Release', 'Core Updates', diff --git a/auto_inst.cfg_upgrade.pl b/auto_inst.cfg_upgrade.pl index 23e6f08..8a12756 100755 --- a/auto_inst.cfg_upgrade.pl +++ b/auto_inst.cfg_upgrade.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -cw -# +# # You should check the syntax of this file before using it in an auto-install. # You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file # (note the '#!/usr/bin/perl -cw' on the first line). @@ -19,685 +19,6 @@ $o = { }, 'autoExitInstall' => '1', 'default_packages' => [ - 'acpi', - 'acpid', - 'akonadi', - 'akonadi-import-wizard', - 'akregator-handbook', - 'aoss', - 'aria2', - 'ark', - 'ark-handbook', - 'autocorr-fr', - 'baloo', - 'baloo-widgets', - 'basesystem', - 'bash-completion', - 'bc', - 'bind-utils', - 'bluedevil', - 'bluez-firmware', - 'bluez-qt', - 'breeze', - 'breeze-common', - 'breeze-gtk', - 'cdrkit-genisoimage', - 'chrony', - 'clementine', - 'comgt', - 'coreutils-doc', - 'cpupower', - 'cronie-anacron', - 'dconf', - 'dcraw', - 'dhcp-client', - 'digikam', - 'dmraid', - 'dnf', - 'dnf-plugins-core', - 'dnf-yum', - 'dracut', - 'dragon-handbook', - 'drakconf', - 'drakguard', - 'drakx-net', - 'drakx-net-applet', - 'drakxtools', - 'drakxtools-curses', - 'dump', - 'dvdauthor', - 'efax', - 'ekiga', - 'enchant', - 'enscript', - 'eventviews', - 'faad2', - 'ffmpeg', - 'ffmpeg2theora', - 'ffmpegthumbs', - 'file', - 'filezilla', - 'firefox', - 'firefox-fr', - 'flac', - 'flash-player-plugin', - 'fonts-ttf-decoratives', - 'fonts-ttf-west_european', - 'frei0r', - 'ghostscript', - 'ghostscript-common', - 'ghostscript-module-X', - 'giftrans', - 'gimp', - 'gimp-help-fr', - 'glib2.0-common', - 'gnome-packagekit-common', - 'gnupg', - 'gnupg2', - 'gphoto2', - 'gpm', - 'grub-doc', - 'grub2', - 'grub2-common', - 'grub2-mageia-theme', - 'gstreamer0.10-dirac', - 'gstreamer0.10-faad', - 'gstreamer0.10-lame', - 'gstreamer0.10-mms', - 'gstreamer0.10-musepack', - 'gstreamer0.10-plugins-ugly', - 'gstreamer0.10-pulse', - 'gstreamer0.10-resindvd', - 'gstreamer0.10-xvid', - 'gstreamer1.0-a52dec', - 'gstreamer1.0-amrnb', - 'gstreamer1.0-cdio', - 'gstreamer1.0-dv', - 'gstreamer1.0-faad', - 'gstreamer1.0-farstream', - 'gstreamer1.0-flac', - 'gstreamer1.0-gme', - 'gstreamer1.0-gsm', - 'gstreamer1.0-lame', - 'gstreamer1.0-mms', - 'gstreamer1.0-mpeg', - 'gstreamer1.0-neon', - 'gstreamer1.0-ofa', - 'gstreamer1.0-plugins-ugly', - 'gstreamer1.0-pulse', - 'gstreamer1.0-rtmp', - 'gstreamer1.0-soup', - 'gstreamer1.0-speex', - 'gstreamer1.0-twolame', - 'gstreamer1.0-wavpack', - 'gstreamer1.0-x264', - 'gstreamer1.0-x265', - 'gvfs-archive', - 'gvfs-fuse', - 'gvfs-goa', - 'gvfs-gphoto2', - 'gvfs-iphone', - 'gvfs-mtp', - 'gvfs-smb', - 'gwenview', - 'gwenview-handbook', - 'harddrake', - 'hawkey-man', - 'hdparm', - 'hexedit', - 'hplip-model-data', - 'html2text', - 'hunspell', - 'hunspell-en', - 'icedtea-web', - 'icewm-i18n', - 'icewm-light', - 'icu58-data', - 'imagemagick', - 'incidenceeditor', - 'info', - 'iproute2', - 'irqbalance', - 'iwlwifi-firmware', - 'java-1.8.0-openjdk', - 'json-glib', - 'kaccounts-integration', - 'kactivities', - 'kaddressbook', - 'kalarm', - 'kamera', - 'kamera-handbook', - 'kcalc', - 'kcalc-handbook', - 'kcharselect', - 'kcharselect-handbook', - 'kcmutils', - 'kcolorchooser', - 'kcron', - 'kcron-handbook', - 'kde-cli-tools', - 'kde-l10n-fr', - 'kded', - 'kdegraphics-mobipocket', - 'kdegraphics-thumbnailers', - 'kdenlive', - 'kdepim-addons', - 'kdeplasma-addons', - 'kdesu', - 'kdnssd', - 'kdoctools', - 'kernel-desktop-latest', - 'kernel-firmware-nonfree', - 'kfilemetadata', - 'kgamma5', - 'kglobalaccel', - 'kholidays', - 'khtml', - 'kidletime', - 'kinfocenter', - 'kio', - 'kio5-sieve', - 'kipi-common', - 'kipi-plugins', - 'kipi-plugins-facebook', - 'kipi-plugins-flashexport', - 'kipi-plugins-flickr', - 'kipi-plugins-kmlexport', - 'kipi-plugins-piwigo', - 'kipi-plugins-printimages', - 'kipi-plugins-rajceexport', - 'kipi-plugins-sendimages', - 'kipi-plugins-smug', - 'kipi-plugins-vkontakte', - 'kipi-plugins-yandexfotki', - 'kjobwidgets', - 'kjots', - 'kldap', - 'kldap-handbook', - 'kleopatra-handbook', - 'kmail', - 'kmail', - 'kmailtransport', - 'kmailtransport-handbook', - 'kmenuedit', - 'kmozillahelper', - 'knotes-handbook', - 'knotifyconfig', - 'kolourpaint', - 'kolourpaint-handbook', - 'konq-plugins', - 'konqueror-handbook', - 'konsole-doc', - 'kontact', - 'kontact-handbook', - 'kontactinterface', - 'konversation', - 'korganizer', - 'kpeople', - 'krb5', - 'kross', - 'krunner', - 'kscreen', - 'kscreenlocker', - 'kservice', - 'ksysguard', - 'ktexteditor', - 'ktexteditor-plugins', - 'ktextwidgets', - 'ktimer', - 'ktimer-handbook', - 'ktorrent', - 'kwallet', - 'kwallet-pam', - 'kwalletmanager', - 'kwalletmanager-handbook', - 'kwin', - 'kwrite-handbook', - 'ladspa', - 'lame', - 'ldetect', - 'ldetect-lst', - 'lftp', - 'lib64adblocklibprivate5', - 'lib64addressbookprivate5', - 'lib64akonadi-filestore5', - 'lib64akonadi-singlefileresource5', - 'lib64akonadiprivate5', - 'lib64alsa-plugins', - 'lib64alsa-plugins-pulseaudio', - 'lib64appstreamqt2', - 'lib64archive13', - 'lib64attica5', - 'lib64avcodec57', - 'lib64avfilter6', - 'lib64avformat57', - 'lib64avutil55', - 'lib64boost_iostreams1.60.0', - 'lib64boost_signals1.60.0', - 'lib64cairo-gir1.0', - 'lib64canberra-gtk0', - 'lib64cdio16', - 'lib64cdt5', - 'lib64db5.3', - 'lib64dolphinprivate5', - 'lib64dolphinvcs5', - 'lib64dri-drivers', - 'lib64drm_amdgpu1', - 'lib64drm_intel1', - 'lib64drm_nouveau2', - 'lib64drm_radeon1', - 'lib64exif12', - 'lib64exiv2_26', - 'lib64farstream-plugins0.2', - 'lib64fftw3', - 'lib64folderarchivesettings5', - 'lib64fontconfig-gir2.0', - 'lib64freetype6', - 'lib64gd3', - 'lib64gdk_pixbuf-gir2.0', - 'lib64gdk_pixbuf2.0_0', - 'lib64glapi0', - 'lib64glib-networking', - 'lib64gs9', - 'lib64gstbadaudio1.0_0', - 'lib64gstbadbase1.0_0', - 'lib64gstbasecamerabinsrc1.0_0', - 'lib64gstbasevideo0.10_0', - 'lib64gstmpegts1.0_0', - 'lib64gstphotography1.0_0', - 'lib64gwenviewlib4', - 'lib64icalss2', - 'lib64icalvcal2', - 'lib64javascriptcore-gir3.0', - 'lib64javascriptcore-gir4.0', - 'lib64javascriptcoregtk4.0_18', - 'lib64jbig2dec0', - 'lib64kaccounts16', - 'lib64kaddressbookimportexportlibprivate5', - 'lib64kaddressbookmergelibprivate5', - 'lib64karchive5', - 'lib64kbookmarkmodel_private_5', - 'lib64kdc-samba4_2', - 'lib64kf5activities5', - 'lib64kf5activitiesstats5', - 'lib64kf5addressbookgrantlee5', - 'lib64kf5addressbookimportexport_5', - 'lib64kf5akonadiagentbase5', - 'lib64kf5akonadinotes5', - 'lib64kf5akonadisearchdebug5', - 'lib64kf5akonadisearchpim5', - 'lib64kf5akonadiwidgets5', - 'lib64kf5akonadixml5', - 'lib64kf5baloowidgets5', - 'lib64kf5bluezqt5', - 'lib64kf5bookmarks5', - 'lib64kf5calendarsupport5', - 'lib64kf5calendarutils5', - 'lib64kf5completion5', - 'lib64kf5coreaddons5', - 'lib64kf5dcraw5', - 'lib64kf5declarative5', - 'lib64kf5decoration5', - 'lib64kf5decorationprivate5', - 'lib64kf5exiv2_5', - 'lib64kf5filemetadata5', - 'lib64kf5grantleetheme5', - 'lib64kf5guiaddons5', - 'lib64kf5holidays5', - 'lib64kf5iconthemes5', - 'lib64kf5identitymanagement5', - 'lib64kf5idletime5', - 'lib64kf5imap5', - 'lib64kf5js5', - 'lib64kf5jsembed5', - 'lib64kf5kcmutils5', - 'lib64kf5kcontacts5', - 'lib64kf5kdepimdbusinterfaces5', - 'lib64kf5kdnssd5', - 'lib64kf5khtml5', - 'lib64kf5kiocore5', - 'lib64kf5kipi5', - 'lib64kf5kirigami2_5', - 'lib64kf5kleopatraclientcore1', - 'lib64kf5kleopatraclientgui1', - 'lib64kf5krosscore5', - 'lib64kf5kscreen5', - 'lib64kf5ksieve5', - 'lib64kf5ksieveui5', - 'lib64kf5ldap5', - 'lib64kf5libkdepim5', - 'lib64kf5libkleo_5', - 'lib64kf5mailimporter5', - 'lib64kf5mailtransport5', - 'lib64kf5managesieve5', - 'lib64kf5mbox5', - 'lib64kf5messagecore5', - 'lib64kf5messageviewer5', - 'lib64kf5mimetreeparser5', - 'lib64kf5newstuffcore5', - 'lib64kf5peoplebakend5', - 'lib64kf5peoplewidgets5', - 'lib64kf5pimcommon5', - 'lib64kf5pimtextedit5', - 'lib64kf5plasmaquick5', - 'lib64kf5pty5', - 'lib64kf5quickaddons5', - 'lib64kf5sane5', - 'lib64kf5sendlater_5', - 'lib64kf5solid5', - 'lib64kf5sonnetui5', - 'lib64kf5style5', - 'lib64kf5syndication5', - 'lib64kf5textwidgets5', - 'lib64kf5wallet5', - 'lib64kf5walletbackend55', - 'lib64kf5webengineviewer5', - 'lib64kf5widgetsaddons5', - 'lib64kf5xmlgui5', - 'lib64kitemmodels5', - 'lib64kitemviews5', - 'lib64kmailprivate5', - 'lib64kms1', - 'lib64knotesprivate5', - 'lib64kolourpaint_lgpl5', - 'lib64konquerorprivate5', - 'lib64krb53', - 'lib64kscreenlocker5', - 'lib64ksignalplotter5', - 'lib64ktcore16', - 'lib64ktpaccountskcminternal16', - 'lib64ktplogger9', - 'lib64ktpotr9', - 'lib64kwin5', - 'lib64lensfun1', - 'lib64maildir5', - 'lib64mesaegl1', - 'lib64mesagl1', - 'lib64mesaglu1', - 'lib64milou5', - 'lib64minizip1', - 'lib64mp3lame0', - 'lib64mpg123_0', - 'lib64ncursesw6', - 'lib64notesharedprivate5', - 'lib64opal3.10.10', - 'lib64openjp2_7', - 'lib64openssl1.0.0', - 'lib64pano13_3', - 'lib64pathplan4', - 'lib64pcre1', - 'lib64phonon4qt5experimental4', - 'lib64plasmacomicprovidercore1', - 'lib64poppler-glib8', - 'lib64poppler-qt5_1', - 'lib64processcore5', - 'lib64processui5', - 'lib64proxy-webkit', - 'lib64purple0', - 'lib64python2.7', - 'lib64python2.7-stdlib', - 'lib64python3.5-stdlib', - 'lib64qmobipocket2', - 'lib64qt5-database-plugin-mysql', - 'lib64qt5-database-plugin-sqlite', - 'lib64qt5dbus5', - 'lib64qt5gui5', - 'lib64qt5multimediaquick_p5', - 'lib64qt5multimediawidgets5', - 'lib64qt5positioning5', - 'lib64qt5printsupport5', - 'lib64qt5quickwidgets5', - 'lib64qt5webchannel5', - 'lib64qt5webenginecore5', - 'lib64qt5webkitwidgets5', - 'lib64quicktime0', - 'lib64raw16', - 'lib64recode0', - 'lib64rtmp1', - 'lib64ruby2.2', - 'lib64samba-dc0', - 'lib64skgbankgui2', - 'lib64skgbankmodeler2', - 'lib64skgbasegui2', - 'lib64sox3', - 'lib64swresample2', - 'lib64swscaler4', - 'lib64syntaxhighlighting5', - 'lib64systemd0', - 'lib64taglib1', - 'lib64talloc2', - 'lib64taskmanager5', - 'lib64tiff5', - 'lib64vlc5', - 'lib64vlccore9', - 'lib64vorbis0', - 'lib64vorbisenc2', - 'lib64vorbisfile3', - 'lib64wacom2', - 'lib64wayland-client0', - 'lib64wayland-cursor0', - 'lib64wayland-egl1', - 'lib64wayland-server0', - 'lib64webkit-gir3.0', - 'lib64webkit2gtk-gir4.0', - 'lib64xatracker2', - 'lib64xcursor1', - 'lib64xfont1', - 'lib64xfont2_2', - 'lib64xfs1', - 'lib64xft-gir2.0', - 'lib64zip4', - 'libdca-tools', - 'libdrakx-net', - 'libdrm-common', - 'libinput-tools', - 'libkdepim', - 'libksane', - 'libkscreen', - 'libksieve', - 'libksieve-handbook', - 'libktorrent-common', - 'liblangtag', - 'libmtp-utils', - 'libofx', - 'libpano13-tools', - 'libpwquality-tools', - 'libquicktime-dv', - 'libquicktime-faad', - 'libquicktime-lame', - 'libquicktime-x264', - 'libreoffice-base', - 'libreoffice-data', - 'libreoffice-emailmerge', - 'libreoffice-graphicfilter', - 'libreoffice-gtk3', - 'libreoffice-impress', - 'libreoffice-langpack-fr', - 'libreoffice-math', - 'libreoffice-pdfimport', - 'libreoffice-wiki-publisher', - 'libreoffice-writer', - 'libreoffice-xsltfilter', - 'libsecret-tools', - 'libsolv-tools', - 'libuser', - 'libxml2-python', - 'libxml2-utils', - 'locales', - 'lsof', - 'lvm2', - 'lynx', - 'mageia-gfxboot-theme', - 'mageia-theme-screensavers', - 'mageiawelcome', - 'mailimporter', - 'man-pages', - 'man-pages-fr', - 'mandi-ifw', - 'marble', - 'marble-handbook', - 'mariadb-common', - 'mariadb-common-core', - 'mc', - 'mencoder', - 'meta-task', - 'mgaonline', - 'microcode', - 'microcode_ctl', - 'mirrordir', - 'mjpegtools', - 'mkxauth', - 'mlocate', - 'monitor-edid', - 'mp3gain', - 'mpeg2dec', - 'mpgtx', - 'mplayer', - 'msec', - 'msec-gui', - 'mtools', - 'nano', - 'ncurses', - 'net_monitor', - 'netprofile-plugin-firewall', - 'netprofile-plugin-network', - 'netprofile-plugin-proxy', - 'netprofile-plugin-services', - 'netprofile-plugin-urpmi', - 'nmap', - 'notification-daemon-engine-nodoka', - 'npapi-vlc', - 'nss', - 'nss-myhostname', - 'ntfs-3g', - 'numlock', - 'okular-handbook', - 'open', - 'openssh', - 'openssh-clients', - 'openssl', - 'os-prober', - 'oxygen-icons5', - 'p7zip', - 'packagekit-gstreamer-plugin', - 'packagekit-gtk-module', - 'patch', - 'perl-Time-HiRes', - 'perl-XML-LibXML', - 'perl-doc', - 'phonon4qt5', - 'phonon4qt5-vlc', - 'pidgin-plugins', - 'pinentry-gnome3', - 'plasma-integration', - 'plasma-pa', - 'plasma-workspace', - 'plymouth-system-theme', - 'poppler-data', - 'preload', - 'procmail', - 'psutils', - 'pulseaudio-module-gconf', - 'pulseaudio-module-zeroconf', - 'python', - 'python2-rpm', - 'python3-dnf-plugins-core', - 'python3-rpm', - 'python3-smbc', - 'qtbase5-common', - 'qtdeclarative5', - 'qtgraphicaleffects5', - 'qtimageformats5', - 'qttools5', - 'qttools5-assistant', - 'radeon-firmware', - 'ralink-firmware', - 'rdist', - 'readahead', - 'recode', - 'recordmydesktop', - 'rfkill', - 'rootcerts', - 'rootcerts-java', - 'rpm', - 'rsync', - 'rtlwifi-firmware', - 's2u', - 'samba-client', - 'samba-common', - 'sane-backends-iscan', - 'screen', - 'scribus', - 'sddm', - 'sddm-kcm', - 'seahorse', - 'sectool', - 'shadow-utils', - 'sharutils', - 'shorewall-ipv6', - 'skrooge', - 'solid', - 'sonnet', - 'sound-scripts', - 'soundwrapper', - 'spectacle', - 'speex', - 'sqlite3-tools', - 'strace', - 'sudo', - 'symlinks', - 'system-config-printer', - 'systemd', - 'systemsettings', - 'task-codec-audio', - 'task-codec-video', - 'task-plasma5-minimal', - 'task-pulseaudio', - 'telepathy-haze', - 'telepathy-idle', - 'telepathy-kde-common-internals-core', - 'telepathy-kde-desktop-applets', - 'telepathy-kde-send-file', - 'telepathy-salut', - 'tmpwatch', - 'tree', - 'twolame', - 'ufraw-gimp', - 'unar', - 'usbutils', - 'vaapi-driver-intel', - 'vboxadditions-kernel-desktop-latest', - 'vim-enhanced', - 'vim-minimal', - 'virtualbox-guest-additions', - 'vlc', - 'vlc-plugin-common', - 'vlc-plugin-flac', - 'vlc-plugin-lua', - 'vlc-plugin-pulse', - 'vlc-plugin-speex', - 'vlc-plugin-theora', - 'vorbis-tools', - 'vorbisgain', - 'webkit1.0', - 'webkit2', - 'wget', - 'wireless-tools', - 'words', - 'x11-driver-input', - 'x11-driver-video', - 'x11-driver-video-vboxvideo', - 'x11-font-bh-type1', - 'x11-server-xorg', - 'x264', - 'xdg-utils', - 'xdm', - 'xev', - 'xorg-x11-75dpi-fonts', - 'xorriso', - 'yelp', - 'zeroconf-ioslave', - 'zip' ], 'enabled_media' => [ 'Core Release', From 2ad5c44774e64366ac576fc8a6df56f6487c39b0 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 22 Jun 2019 23:37:53 +0200 Subject: [PATCH 02/12] first commit of mkmirrortree --- mkmirrortree | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 mkmirrortree diff --git a/mkmirrortree b/mkmirrortree new file mode 100644 index 0000000..3fb16d8 --- /dev/null +++ b/mkmirrortree @@ -0,0 +1,77 @@ +#!/bin/bash +ARCH="SRPMS x86_64 i586 armv7hl aarch64" +DEPOT="release update" +echo "Créer une arborescence de miroir MAgeia dans le dossier `pwd`?" +read YN +if [ "$YN" = "y" ] || [ "$YN" = "Y" ] ;then + for i in $*; do + for j in $ARCH;do + if [ "$j" = "SRPMS" ]; then + MEDIA=""; + else + MEDIA="/media" + fi + for k in $DEPOT;do + echo "./mageia/distrib/$i/$j$MEDIA/core/$k" + mkdir -p "./mageia/distrib/$i/$j$MEDIA/core/$k" + if ! [ -z $MEDIA ]; then + mkdir -p "./mageia/distrib/$i/$j$MEDIA/media_info" + printf "[media_info] +version=$i +mediacfg_version=2 +branch=Official +arch=$j +xml-info=1 + +[core/release] +hdlist=hdlist_core_release.cz +media_type=official:free:release +media_types=official:free:release +name=Core Release +srpms=../../SRPMS/core/release + +[debug/core/release] +hdlist=hdlist_debug_core_release.cz +media_type=official:free:release:debug +media_types=official:free:release:debug +name=Core Release Debug +noauto=1 +srpms=../../SRPMS/core/release + +[../../SRPMS/core/release] +hdlist=hdlist_core_release.src.cz +media_type=official:free:release:source +media_types=official:free:release:source +name=Core Release Sources +noauto=1 +rpms=core/release + +[core/updates] +hdlist=hdlist_core_updates.cz +media_type=official:free:updates +media_types=official:free:updates +name=Core Updates +srpms=../../SRPMS/core/updates +updates_for=core/release + +[debug/core/updates] +hdlist=hdlist_debug_core_updates.cz +media_type=official:free:updates:debug +media_types=official:free:updates:debug +name=Core Updates Debug +noauto=1 +srpms=../../SRPMS/core/updates + +[../../SRPMS/core/updates] +hdlist=hdlist_core_updates.src.cz +media_type=official:free:updates:source +media_types=official:free:updates:source +name=Core Updates Sources +noauto=1 +rpms=core/updates +">"./mageia/distrib/$i/$j$MEDIA/media_info/media.cfg" + fi + done + done + done +fi From 270a27b851f4c503b7e84ab94a06b209b3aa6fe0 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 12:49:55 +0200 Subject: [PATCH 03/12] outils de creation du miroir Lalis --- cp2mirror | 41 +++++++++++++++++++++++++++++++++++++++++ mkmirrortree | 52 ++++++++++++++++++++++++++++------------------------ 2 files changed, 69 insertions(+), 24 deletions(-) create mode 100755 cp2mirror mode change 100644 => 100755 mkmirrortree diff --git a/cp2mirror b/cp2mirror new file mode 100755 index 0000000..7331656 --- /dev/null +++ b/cp2mirror @@ -0,0 +1,41 @@ +#!/usr/bin/bash + +VERSION=$3 +APP_PATH=$1 +MIRRORPATH=$2 +ARCH="x86_64 i586 armv7hl aarch64" + +if [ -e "/usr/local/etc/cp2mirror.conf" ]; then + echo "utilisation de /usr/local/etc/cp2mirror.conf" + . /usr/local/etc/cp2mirror.conf +fi + +if [ -z $VERSION ] || [ -z $APP_PATH ] || [ -z $MIRRORPATH ]; then + echo "arguments invalides" + exit 1 +fi + +rsync -aP $APP_PATH/SRPMS/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/SRPMS/core/updates/ + +if [ -e "$APP_PATH/RPMS/noarch" ]; then + NOARCH=1 +fi + +for i in $ARCH; do + if [ $NOARCH ]; then + echo "noarch" + ARCH_O="noarch" + else + echo "arch" + ARCH_O=$i + fi + if [ -e "$APP_PATH/RPMS/$ARCH_O/" ]; then + if ! [ -e "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" ]; then + /usr/bin/mkdir -p "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + fi + echo "rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/ + gendistrib --nobadrpm --blind --skipmissingdir $MIRRORPATH/lalis/$VERSION/$i + fi +done + diff --git a/mkmirrortree b/mkmirrortree old mode 100644 new mode 100755 index 3fb16d8..ea877fb --- a/mkmirrortree +++ b/mkmirrortree @@ -1,26 +1,30 @@ #!/bin/bash -ARCH="SRPMS x86_64 i586 armv7hl aarch64" -DEPOT="release update" -echo "Créer une arborescence de miroir MAgeia dans le dossier `pwd`?" -read YN -if [ "$YN" = "y" ] || [ "$YN" = "Y" ] ;then - for i in $*; do - for j in $ARCH;do - if [ "$j" = "SRPMS" ]; then - MEDIA=""; - else - MEDIA="/media" - fi - for k in $DEPOT;do - echo "./mageia/distrib/$i/$j$MEDIA/core/$k" - mkdir -p "./mageia/distrib/$i/$j$MEDIA/core/$k" - if ! [ -z $MEDIA ]; then - mkdir -p "./mageia/distrib/$i/$j$MEDIA/media_info" - printf "[media_info] -version=$i +MIRROR="/mnt/lalis/mirror" +ARCHLIST="SRPMS x86_64 i586 armv7hl aarch64" +DEPOT="release updates" + +cd "$MIRROR" +echo `pwd` + +for DIR in `ls -A $MIRROR/mageia/distrib` +do + for ARCH in $ARCHLIST;do + if [ "$ARCH" = "SRPMS" ]; then + MEDIA=""; + else + MEDIA="/media" + fi + for k in $DEPOT; do + echo "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" + mkdir -p "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" + if ! [ -z "$MEDIA" ]; then + echo "generation des medias" + mkdir -p "./mageia/lalis/$DIR/$ARCH$MEDIA/media_info" + printf "[media_info] +version=$DIR mediacfg_version=2 branch=Official -arch=$j +arch=$ARCH xml-info=1 [core/release] @@ -69,9 +73,9 @@ media_types=official:free:updates:source name=Core Updates Sources noauto=1 rpms=core/updates -">"./mageia/distrib/$i/$j$MEDIA/media_info/media.cfg" - fi - done +">"./mageia/lalis/$DIR/$ARCH$MEDIA/media_info/media.cfg" + fi + gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" done done -fi +done From 58460b952416511f42e06a6ce543001407eb3542 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 13:03:04 +0200 Subject: [PATCH 04/12] bug --- mkmirrortree | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/mkmirrortree b/mkmirrortree index ea877fb..901a234 100755 --- a/mkmirrortree +++ b/mkmirrortree @@ -7,20 +7,21 @@ cd "$MIRROR" echo `pwd` for DIR in `ls -A $MIRROR/mageia/distrib` -do - for ARCH in $ARCHLIST;do - if [ "$ARCH" = "SRPMS" ]; then - MEDIA=""; - else - MEDIA="/media" - fi - for k in $DEPOT; do - echo "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" - mkdir -p "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" - if ! [ -z "$MEDIA" ]; then - echo "generation des medias" - mkdir -p "./mageia/lalis/$DIR/$ARCH$MEDIA/media_info" - printf "[media_info] +do + if [ -d "$DIR" ]; then + for ARCH in $ARCHLIST;do + if [ "$ARCH" = "SRPMS" ]; then + MEDIA=""; + else + MEDIA="/media" + fi + for k in $DEPOT; do + echo "./lalis/$DIR/$ARCH$MEDIA/core/$k" + mkdir -p "./lalis/$DIR/$ARCH$MEDIA/core/$k" + if ! [ -z "$MEDIA" ]; then + echo "generation des medias" + mkdir -p "./lalis/$DIR/$ARCH$MEDIA/media_info" + printf "[media_info] version=$DIR mediacfg_version=2 branch=Official @@ -74,8 +75,9 @@ name=Core Updates Sources noauto=1 rpms=core/updates ">"./mageia/lalis/$DIR/$ARCH$MEDIA/media_info/media.cfg" - fi - gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" + fi + gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" + done done - done + fi done From be7df5b9bc896bcaabee087e94264f51bfec7c57 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 13:06:15 +0200 Subject: [PATCH 05/12] bug --- mkmirrortree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkmirrortree b/mkmirrortree index 901a234..42134ee 100755 --- a/mkmirrortree +++ b/mkmirrortree @@ -8,7 +8,7 @@ echo `pwd` for DIR in `ls -A $MIRROR/mageia/distrib` do - if [ -d "$DIR" ]; then + if [ -d "$MIRROR/$DIR" ]; then for ARCH in $ARCHLIST;do if [ "$ARCH" = "SRPMS" ]; then MEDIA=""; From 8bb10ca2406a4ffe0ccd489104b0683ff2d8be89 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 13:08:28 +0200 Subject: [PATCH 06/12] =?UTF-8?q?gendistrib=20supprim=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mkmirrortree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkmirrortree b/mkmirrortree index 42134ee..c2312fa 100755 --- a/mkmirrortree +++ b/mkmirrortree @@ -76,7 +76,7 @@ noauto=1 rpms=core/updates ">"./mageia/lalis/$DIR/$ARCH$MEDIA/media_info/media.cfg" fi - gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" + #gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" done done fi From 7b4d83f59652e9d4e593d1e2b05e9b026ab40247 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 13:13:09 +0200 Subject: [PATCH 07/12] erreur de chemin --- mkmirrortree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkmirrortree b/mkmirrortree index c2312fa..b3082df 100755 --- a/mkmirrortree +++ b/mkmirrortree @@ -8,7 +8,7 @@ echo `pwd` for DIR in `ls -A $MIRROR/mageia/distrib` do - if [ -d "$MIRROR/$DIR" ]; then + if [ -d "$MIRROR/mageia/distrib/$DIR" ]; then for ARCH in $ARCHLIST;do if [ "$ARCH" = "SRPMS" ]; then MEDIA=""; From 8f30015131355ac2466573c6e3efac3b9976240e Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 15:21:13 +0200 Subject: [PATCH 08/12] fonctionnel --- mkmirrortree | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mkmirrortree b/mkmirrortree index b3082df..bbe77b5 100755 --- a/mkmirrortree +++ b/mkmirrortree @@ -8,6 +8,7 @@ echo `pwd` for DIR in `ls -A $MIRROR/mageia/distrib` do + echo "$MIRROR/mageia/distrib/$DIR" if [ -d "$MIRROR/mageia/distrib/$DIR" ]; then for ARCH in $ARCHLIST;do if [ "$ARCH" = "SRPMS" ]; then @@ -18,7 +19,7 @@ do for k in $DEPOT; do echo "./lalis/$DIR/$ARCH$MEDIA/core/$k" mkdir -p "./lalis/$DIR/$ARCH$MEDIA/core/$k" - if ! [ -z "$MEDIA" ]; then + if ! [ -z "$MEDIA" ] && ! [ -e "./lalis/$DIR/$ARCH$MEDIA/media_info" ]; then echo "generation des medias" mkdir -p "./lalis/$DIR/$ARCH$MEDIA/media_info" printf "[media_info] @@ -74,7 +75,7 @@ media_types=official:free:updates:source name=Core Updates Sources noauto=1 rpms=core/updates -">"./mageia/lalis/$DIR/$ARCH$MEDIA/media_info/media.cfg" +">"./lalis/$DIR/$ARCH$MEDIA/media_info/media.cfg" fi #gendistrib --nobadrpm --blind --skipmissingdir "./mageia/lalis/$DIR/$ARCH$MEDIA/core/$k" done From dfaa6e940a377a06cb91309ccb7b51432a5cd55d Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 17:06:08 +0200 Subject: [PATCH 09/12] grosse modifs --- cp2mirror | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/cp2mirror b/cp2mirror index 7331656..062b397 100755 --- a/cp2mirror +++ b/cp2mirror @@ -1,8 +1,7 @@ #!/usr/bin/bash -VERSION=$3 APP_PATH=$1 -MIRRORPATH=$2 +MIRRORPATH="/mnt/lalis/mirror" ARCH="x86_64 i586 armv7hl aarch64" if [ -e "/usr/local/etc/cp2mirror.conf" ]; then @@ -10,32 +9,37 @@ if [ -e "/usr/local/etc/cp2mirror.conf" ]; then . /usr/local/etc/cp2mirror.conf fi -if [ -z $VERSION ] || [ -z $APP_PATH ] || [ -z $MIRRORPATH ]; then - echo "arguments invalides" +if [ -z $APP_PATH ] || ! [ -d $APP_PATH ]; then + echo "argument invalide" exit 1 fi -rsync -aP $APP_PATH/SRPMS/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/SRPMS/core/updates/ +for VERSION in `ls -A $MIRRORPATH/mageia/distrib` +do + echo "$MIRRORPATH/mageia/distrib/$VERSION" -if [ -e "$APP_PATH/RPMS/noarch" ]; then - NOARCH=1 -fi + rsync -aP $APP_PATH/SRPMS/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/SRPMS/core/updates/ -for i in $ARCH; do - if [ $NOARCH ]; then - echo "noarch" - ARCH_O="noarch" - else - echo "arch" - ARCH_O=$i + if [ -e "$APP_PATH/RPMS/noarch" ]; then + NOARCH=1 fi - if [ -e "$APP_PATH/RPMS/$ARCH_O/" ]; then - if ! [ -e "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" ]; then - /usr/bin/mkdir -p "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + + for i in $ARCH; do + if [ $NOARCH ]; then + echo "noarch" + ARCH_O="noarch" + else + echo "arch" + ARCH_O=$i fi - echo "rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" - rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/ - gendistrib --nobadrpm --blind --skipmissingdir $MIRRORPATH/lalis/$VERSION/$i - fi + if [ -e "$APP_PATH/RPMS/$ARCH_O/" ]; then + if ! [ -e "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" ]; then + /usr/bin/mkdir -p "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + fi + echo "rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/ + gendistrib --nobadrpm --blind --skipmissingdir $MIRRORPATH/lalis/$VERSION/$i + fi + done done From 8cb8943b4cca5e2ca71165d62a8dc6e53cced818 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 18:00:17 +0200 Subject: [PATCH 10/12] bug avec les depots cauldron --- cp2mirror | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cp2mirror b/cp2mirror index 062b397..14fb8e3 100755 --- a/cp2mirror +++ b/cp2mirror @@ -17,8 +17,12 @@ fi for VERSION in `ls -A $MIRRORPATH/mageia/distrib` do echo "$MIRRORPATH/mageia/distrib/$VERSION" - - rsync -aP $APP_PATH/SRPMS/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/SRPMS/core/updates/ + if [ "$VERSION" -eq "cauldron" ]; then + VSTRING="cauldron" + else + VSTRING="mga$VERSION" + fi + rsync -aP $APP_PATH/SRPMS/*."$VSTRING".* $MIRRORPATH/lalis/$VERSION/SRPMS/core/updates/ if [ -e "$APP_PATH/RPMS/noarch" ]; then NOARCH=1 From 4cb9125535ca3ac26918af204c1569bb1ca06b30 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 18:04:24 +0200 Subject: [PATCH 11/12] ouaip --- cp2mirror | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cp2mirror b/cp2mirror index 14fb8e3..e78ab4c 100755 --- a/cp2mirror +++ b/cp2mirror @@ -17,7 +17,7 @@ fi for VERSION in `ls -A $MIRRORPATH/mageia/distrib` do echo "$MIRRORPATH/mageia/distrib/$VERSION" - if [ "$VERSION" -eq "cauldron" ]; then + if [ "$VERSION" = "cauldron" ]; then VSTRING="cauldron" else VSTRING="mga$VERSION" From 15bc4673749c1fb8932bffa171a5b6db29fffe5c Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 30 Jun 2019 18:08:47 +0200 Subject: [PATCH 12/12] encore --- cp2mirror | 54 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/cp2mirror b/cp2mirror index e78ab4c..68b2cd7 100755 --- a/cp2mirror +++ b/cp2mirror @@ -16,34 +16,36 @@ fi for VERSION in `ls -A $MIRRORPATH/mageia/distrib` do - echo "$MIRRORPATH/mageia/distrib/$VERSION" - if [ "$VERSION" = "cauldron" ]; then - VSTRING="cauldron" - else - VSTRING="mga$VERSION" - fi - rsync -aP $APP_PATH/SRPMS/*."$VSTRING".* $MIRRORPATH/lalis/$VERSION/SRPMS/core/updates/ - - if [ -e "$APP_PATH/RPMS/noarch" ]; then - NOARCH=1 - fi - - for i in $ARCH; do - if [ $NOARCH ]; then - echo "noarch" - ARCH_O="noarch" + if [ -d "$MIRRORPATH/mageia/distrib/$VERSION" ]; then + echo "$MIRRORPATH/mageia/distrib/$VERSION" + if [ "$VERSION" = "cauldron" ]; then + VSTRING="cauldron" else - echo "arch" - ARCH_O=$i + VSTRING="mga$VERSION" fi - if [ -e "$APP_PATH/RPMS/$ARCH_O/" ]; then - if ! [ -e "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" ]; then - /usr/bin/mkdir -p "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + rsync -aP $APP_PATH/SRPMS/*."$VSTRING".* $MIRRORPATH/lalis/$VERSION/SRPMS/core/updates/ + + if [ -e "$APP_PATH/RPMS/noarch" ]; then + NOARCH=1 + fi + + for i in $ARCH; do + if [ $NOARCH ]; then + echo "noarch" + ARCH_O="noarch" + else + echo "arch" + ARCH_O=$i fi - echo "rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" - rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/ - gendistrib --nobadrpm --blind --skipmissingdir $MIRRORPATH/lalis/$VERSION/$i - fi - done + if [ -e "$APP_PATH/RPMS/$ARCH_O/" ]; then + if ! [ -e "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" ]; then + /usr/bin/mkdir -p "$MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + fi + echo "rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/" + rsync -aP $APP_PATH/RPMS/$ARCH_O/*.mga"$VERSION".* $MIRRORPATH/lalis/$VERSION/$i/media/core/updates/ + gendistrib --nobadrpm --blind --skipmissingdir $MIRRORPATH/lalis/$VERSION/$i >/dev/null + fi + done + fi done