1
0

Compare commits

...

10 Commits

Author SHA1 Message Date
03bba0c256 debug 2023-09-07 13:10:31 +02:00
a43203edf9 Merge branch 'master' of git.labolyon.fr:DTux/config_lalis
validée
 Veuillez entrer un message de validation pour expliquer en quoi cette fusion est
2023-09-07 13:06:13 +02:00
8a96f6d015 update 2023-09-07 13:05:53 +02:00
3c38017572 update to Mageia 9 2022-12-26 18:38:20 +01:00
964bbc899a Mageia9 auto_inst 2022-12-21 00:54:18 +01:00
52b187e859 Mageia9 2022-12-20 23:46:39 +01:00
94947abd74 update 2022-12-05 12:32:10 +01:00
787637cbed suppression du fichier temporaire
Signed-off-by: Daniel Tartavel <dtux@free.fr>
2022-11-04 15:32:34 +01:00
db3215d8d1 ajout du bit executable
Signed-off-by: Daniel Tartavel <dtux@free.fr>
2022-11-04 15:27:08 +01:00
36c501b754 ajout de la synchronisation des bootloader EFI
Signed-off-by: Daniel Tartavel <dtux@free.fr>
2022-11-04 15:24:36 +01:00
10 changed files with 1266 additions and 143 deletions

515
9_auto_inst.cfg.pl Executable file
View File

@ -0,0 +1,515 @@
#!/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).
$o = {
'X' => {
'monitors' => [
{
'VendorName' => 'Plug\'n Play',
'manually_chosen' => 1
}
],
'resolution_wanted' => 'x'
},
'authentication' => {
'sha512' => 1,
'shadow' => 1
},
'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',
'dmraid',
'dnf',
'dnf-plugins-core',
'dnf-yum',
'dracut',
'dragon-handbook',
'drakconf',
'drakguard',
'drakx-net',
'drakx-net-applet',
'drakxtools',
'drakxtools-curses',
'dump',
'dvdauthor',
'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',
'gnupg',
'gnupg2',
'gphoto2',
'gpm',
'grub-doc',
'grub2',
'grub2-common',
'grub2-mageia-theme',
'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',
'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',
'kmailtransport',
'kmailtransport-handbook',
'kmenuedit',
'kmozillahelper',
'knotes-handbook',
'knotifyconfig',
'kolourpaint',
'kolourpaint-handbook',
'konsole-doc',
'kontact',
'kontact-handbook',
'kontactinterface',
'konversation',
'korganizer',
'kpeople',
'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',
'libreoffice',
'libreoffice-langpack-fr',
'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',
'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',
'nss',
'nss-myhostname',
'ntfs-3g',
'numlock',
'okular-handbook',
'open',
'openssh',
'openssh-clients',
'openssl',
'os-prober',
'oxygen-icons5',
'p7zip',
'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',
'python3-dnf-plugins-core',
'python3-rpm',
'python3-smbc',
'qttools5',
'qttools5-assistant',
'radeon-firmware',
'ralink-firmware',
'rdist',
'readahead',
'recode',
'recordmydesktop',
'rfkill',
'rootcerts',
'rootcerts-java',
'rpm',
'rsync',
's2u',
'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-lalis',
'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',
'vim-enhanced',
'vim-minimal',
'vlc',
'vlc-plugin-common',
'vlc-plugin-flac',
'vlc-plugin-lua',
'vlc-plugin-pulse',
'vlc-plugin-speex',
'vlc-plugin-theora',
'vorbis-tools',
'vorbisgain',
'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',
'Core Updates',
'Nonfree Release',
'Nonfree Updates',
'Tainted Release',
'Tainted Updates'
],
'interactiveSteps' => [
'doPartitionDisks',
'formatPartitions',
'summary'
],
'keyboard' => {
'GRP_TOGGLE' => '',
'KEYBOARD' => 'fr'
},
'locale' => {
'IM' => undef,
'country' => 'FR',
'lang' => 'fr',
'langs' => {
'fr' => 1
},
'utf8' => 1
},
'miscellaneous' => {
'numlock' => 1,
'HDPARM' => 1
},
'mouse' => {
'EmulateWheel' => undef,
'MOUSETYPE' => 'ps/2',
'Protocol' => 'ExplorerPS/2',
'device' => 'input/mice',
'evdev_mice' => [
{
'HWheelRelativeAxisButtons' => '7 6',
'device' => '/dev/input/by-id/usb-noserial-event-mouse'
}
],
'evdev_mice_all' => [
{
'HWheelRelativeAxisButtons' => '7 6',
'device' => '/dev/input/by-id/usb-noserial-event-mouse'
}
],
'name' => 'Any PS/2 & USB mice',
'nbuttons' => 7,
'synaptics' => undef,
'type' => 'Universal',
'wacom' => []
},
'net' => {
'PROFILE' => 'default',
'ethernet' => {},
'ifcfg' => {
},
'net_interface' => '',
'network' => {
'CRDA_DOMAIN' => 'FR',
'FORWARD_IPV4' => 'false',
'GATEWAY' => '',
'NETWORKING' => 'yes'
},
'resolv' => {
'DOMAINNAME' => undef,
'DOMAINNAME2' => undef,
'DOMAINNAME3' => undef,
'dnsServer' => undef,
'dnsServer2' => undef,
'dnsServer3' => undef
},
'type' => 'ethernet',
'wireless' => {},
'zeroconf' => {}
},
'bootloader' => {
'method' => 'grub2-graphic',
'boot' => '/dev/sda',
'timeout' => 5,
'crushMbr' => 1,
},
'security' => 1,
'security_user' => undef,
'superuser' => {
'gid' => '0',
'home' => '/root',
'pw' => '$6$4olYuu4o35YoPivZ$jJVF1JHdP9g2rMRivkHywyPZfHe/b/d9RtD09/0p8NBRmCgTQy0x5rgHcBm18D66Dqf0HSZcd8QjSAgiAaV1/1',
'realname' => 'root',
'shell' => '/bin/bash',
'uid' => '0'
},
'timezone' => {
'UTC' => 0,
'ntp' => 'pool.ntp.org',
'timezone' => 'Europe/Paris'
},
'users' => [
{
'gid' => '500',
'groups' => [],
'icon' => 'default',
'name' => 'lalis',
'password' => 'lalis',
'realname' => undef,
'shell' => '/bin/bash',
'uid' => '500'
}
]
};

549
9_auto_inst.cfg_fullauto.pl Executable file
View File

@ -0,0 +1,549 @@
#!/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).
$o = {
'X' => {
'monitors' => [
{
'VendorName' => 'Plug\'n Play',
'manually_chosen' => 1
}
],
'resolution_wanted' => 'x'
},
'authentication' => {
'sha512' => 1,
'shadow' => 1
},
'autoExitInstall' => '0',
'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',
'dmraid',
'dnf',
'dnf-plugins-core',
'dnf-yum',
'dracut',
'dragon-handbook',
'drakconf',
'drakguard',
'drakx-net',
'drakx-net-applet',
'drakxtools',
'drakxtools-curses',
'dump',
'dvdauthor',
'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',
'gnupg',
'gnupg2',
'gphoto2',
'gpm',
'grub-doc',
'grub2',
'grub2-common',
'grub2-mageia-theme',
'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',
'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',
'kmailtransport',
'kmailtransport-handbook',
'kmenuedit',
'kmozillahelper',
'knotes-handbook',
'knotifyconfig',
'kolourpaint',
'kolourpaint-handbook',
'konsole-doc',
'kontact',
'kontact-handbook',
'kontactinterface',
'konversation',
'korganizer',
'kpeople',
'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',
'libreoffice',
'libreoffice-langpack-fr',
'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',
'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',
'nss',
'nss-myhostname',
'ntfs-3g',
'numlock',
'okular-handbook',
'open',
'openssh',
'openssh-clients',
'openssl',
'os-prober',
'oxygen-icons5',
'p7zip',
'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',
'python3-dnf-plugins-core',
'python3-rpm',
'python3-smbc',
'qttools5',
'qttools5-assistant',
'radeon-firmware',
'ralink-firmware',
'rdist',
'readahead',
'recode',
'recordmydesktop',
'rfkill',
'rootcerts',
'rootcerts-java',
'rpm',
'rsync',
's2u',
'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-lalis',
'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',
'vim-enhanced',
'vim-minimal',
'vlc',
'vlc-plugin-common',
'vlc-plugin-flac',
'vlc-plugin-lua',
'vlc-plugin-pulse',
'vlc-plugin-speex',
'vlc-plugin-theora',
'vorbis-tools',
'vorbisgain',
'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',
'Core Updates',
'Nonfree Release',
'Nonfree Updates',
'Tainted Release',
'Tainted Updates'
],
'interactiveSteps' => [
'summary'
],
'keyboard' => {
'GRP_TOGGLE' => '',
'KEYBOARD' => 'fr'
},
'locale' => {
'IM' => undef,
'country' => 'FR',
'lang' => 'fr',
'langs' => {
'fr' => 1
},
'utf8' => 1
},
'miscellaneous' => {
'numlock' => 1,
'HDPARM' => 1
},
'mouse' => {
'EmulateWheel' => undef,
'MOUSETYPE' => 'ps/2',
'Protocol' => 'ExplorerPS/2',
'device' => 'input/mice',
'evdev_mice' => [
{
'HWheelRelativeAxisButtons' => '7 6',
'device' => '/dev/input/by-id/usb-noserial-event-mouse'
}
],
'evdev_mice_all' => [
{
'HWheelRelativeAxisButtons' => '7 6',
'device' => '/dev/input/by-id/usb-noserial-event-mouse'
}
],
'name' => 'Any PS/2 & USB mice',
'nbuttons' => 7,
'synaptics' => undef,
'type' => 'Universal',
'wacom' => []
},
'net' => {
'PROFILE' => 'default',
'ethernet' => {},
'ifcfg' => {
},
'net_interface' => '',
'network' => {
'CRDA_DOMAIN' => 'FR',
'FORWARD_IPV4' => 'false',
'GATEWAY' => '',
'NETWORKING' => 'yes'
},
'resolv' => {
'DOMAINNAME' => undef,
'DOMAINNAME2' => undef,
'DOMAINNAME3' => undef,
'dnsServer' => undef,
'dnsServer2' => undef,
'dnsServer3' => undef
},
'type' => 'ethernet',
'wireless' => {},
'zeroconf' => {}
},
'bootloader' => {
'method' => 'grub2-graphic',
'boot' => '/dev/sda',
'timeout' => 5,
'crushMbr' => 1,
},
'partitioning' => {
'auto_allocate' => '1',
'clearall' => 1,
'eraseBadPartitions' => 0,
'no_bad_drives' => 0,
},
'partitions' => [
{
'fs_type' => 'ext4',
'hd' => 'sda',
'mntpoint' => '/boot',
'options' => 'relatime,acl',
'size' => 1562500
},
{
'fs_type' => 'ext4',
'hd' => 'sda',
'mntpoint' => '/',
'options' => 'relatime,acl',
'size' => 39062500
},
{
'fs_type' => 'swap',
'hd' => 'sda',
'mntpoint' => 'swap',
'options' => 'defaults',
'size' => 7812500
},
{
'fs_type' => 'ext4',
'hd' => 'sda',
'mntpoint' => '/home',
'options' => 'relatime,acl',
'ratio' => 100
},
],
'security' => 1,
'security_user' => undef,
'superuser' => {
'gid' => '0',
'home' => '/root',
'pw' => '$6$4olYuu4o35YoPivZ$jJVF1JHdP9g2rMRivkHywyPZfHe/b/d9RtD09/0p8NBRmCgTQy0x5rgHcBm18D66Dqf0HSZcd8QjSAgiAaV1/1',
'realname' => 'root',
'shell' => '/bin/bash',
'uid' => '0'
},
'timezone' => {
'UTC' => 0,
'ntp' => 'pool.ntp.org',
'timezone' => 'Europe/Paris'
},
'users' => [
{
'gid' => '1000',
'groups' => [],
'icon' => 'default',
'name' => 'lalis',
'password' => 'lalis',
'realname' => undef,
'shell' => '/bin/bash',
'uid' => '1000'
}
]
};

82
9_auto_inst.cfg_upgrade.pl Executable file
View File

@ -0,0 +1,82 @@
#!/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).
$o = {
'X' => {
'monitors' => [
{
'VendorName' => 'Plug\'n Play',
'manually_chosen' => 1
}
],
'resolution_wanted' => 'x'
},
'authentication' => {
'sha512' => 1,
'shadow' => 1
},
'autoExitInstall' => '1',
'default_packages' => [
],
'enabled_media' => [
'Core Release',
'Core Updates',
'Nonfree Release',
'Nonfree Updates',
'Tainted Release',
'Tainted Updates'
],
'interactiveSteps' => [
'summary'
],
'keyboard' => {
'GRP_TOGGLE' => '',
'KEYBOARD' => 'fr'
},
'locale' => {
'IM' => undef,
'country' => 'FR',
'lang' => 'fr',
'langs' => {
'fr' => 1
},
'utf8' => 1
},
'miscellaneous' => {
'numlock' => 1,
'HDPARM' => 1
},
'net' => {
'PROFILE' => 'default',
'ethernet' => {},
'ifcfg' => {
},
'net_interface' => '',
'network' => {
'CRDA_DOMAIN' => 'FR',
'FORWARD_IPV4' => 'false',
'GATEWAY' => '',
'NETWORKING' => 'yes'
},
'resolv' => {
'DOMAINNAME' => undef,
'DOMAINNAME2' => undef,
'DOMAINNAME3' => undef,
'dnsServer' => undef,
'dnsServer2' => undef,
'dnsServer3' => undef
},
'type' => 'ethernet',
'wireless' => {},
'zeroconf' => {}
},
'security' => 1,
'security_user' => undef,
'timezone' => {
'UTC' => 0,
'ntp' => 'pool.ntp.org',
'timezone' => 'Europe/Paris'
},
};

View File

@ -2,7 +2,7 @@
MIRRORPATH=/mnt/lalis/mirror/mageia/lalis/ MIRRORPATH=/mnt/lalis/mirror/mageia/lalis/
for X in 7 8 for X in 8 9
{ {
rsync -aP SRPMS/*mga$X* $MIRRORPATH/$X/SRPMS/core/ rsync -aP SRPMS/*mga$X* $MIRRORPATH/$X/SRPMS/core/
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then

View File

@ -1,5 +1,5 @@
PROMPT 1 PROMPT 1
DEFAULT 6-64 DEFAULT 8-64
DISPLAY messages DISPLAY messages
TIMEOUT 0 TIMEOUT 0
F1 help.txt F1 help.txt
@ -16,45 +16,45 @@ label depannage
APPEND iso initrd=images/c raw APPEND iso initrd=images/c raw
label rescue label rescue
KERNEL images/vmlinuz-mageia6 KERNEL images/vmlinuz-mageia8
APPEND initrd=images/mageia6.rdz ramdisk_size=128000 vga=788 rescue automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ root=/dev/ram3 rw APPEND initrd=images/mageia8.rdz ramdisk_size=128000 vga=788 rescue automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/8/ root=/dev/ram3 rw
label 6-64 label 8-64
KERNEL images/vmlinuz-mageia6_64 KERNEL images/vmlinuz-mageia8_64
APPEND initrd=images/mageia6_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ auto_install=/mageia/distrib/6_auto_inst.cfg.pl root=/dev/ram3 rw APPEND initrd=images/mageia8_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/8/ auto_install=/mageia/distrib/8_auto_inst.cfg.pl root=/dev/ram3 rw
label 6-32 label 8-32
KERNEL images/vmlinuz-mageia6 KERNEL images/vmlinuz-mageia8
APPEND initrd=images/mageia6.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ auto_install=/mageia/distrib/6_auto_inst.cfg.pl root=/dev/ram3 rw APPEND initrd=images/mageia8.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/8/ auto_install=/mageia/distrib/8_auto_inst.cfg.pl root=/dev/ram3 rw
label 6-64f label 8-64f
KERNEL images/vmlinuz-mageia6_64 KERNEL images/vmlinuz-mageia8_64
APPEND initrd=images/mageia6_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ auto_install=/mageia/distrib/6_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw APPEND initrd=images/mageia8_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/8/ auto_install=/mageia/distrib/8_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw
label 6-32f label 8-32f
KERNEL images/vmlinuz-mageia6 KERNEL images/vmlinuz-mageia8
APPEND initrd=images/mageia6.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ auto_install=/mageia/distrib/6_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw APPEND initrd=images/mageia8.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/8/ auto_install=/mageia/distrib/8_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw
label 6-64u label 8-64u
KERNEL images/vmlinuz-mageia6_64 KERNEL images/vmlinuz-mageia8_64
APPEND initrd=images/mageia6_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ auto_install=/mageia/distrib/cauldron_auto_inst.cfg_upgrade.pl root=/dev/ram3 rw APPEND initrd=images/mageia8_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/8/ auto_install=/mageia/distrib/cauldron_auto_inst.cfg_upgrade.pl root=/dev/ram3 rw
label 6-32u label 8-32u
KERNEL images/vmlinuz-mageia6 KERNEL images/vmlinuz-mageia8
APPEND initrd=images/mageia6.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/6/ auto_install=/mageia/distrib/cauldron_auto_inst.cfg_upgrade.pl root=/dev/ram3 rw APPEND initrd=images/mageia8.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/8/ auto_install=/mageia/distrib/cauldron_auto_inst.cfg_upgrade.pl root=/dev/ram3 rw
label 7-64 label 9-64
KERNEL images/vmlinuz-mageia7_64 KERNEL images/vmlinuz-mageia9_64
APPEND initrd=images/mageia7_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/7/ auto_install=/mageia/distrib/7_auto_inst.cfg.pl root=/dev/ram3 rw APPEND initrd=images/mageia9_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/9/ auto_install=/mageia/distrib/9_auto_inst.cfg.pl root=/dev/ram3 rw
label 7-32 label 9-32
KERNEL images/vmlinuz-mageia7 KERNEL images/vmlinuz-mageia9
APPEND initrd=images/mageia7.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/7/ auto_install=/mageia/distrib/7_auto_inst.cfg.pl root=/dev/ram3 rw APPEND initrd=images/mageia9.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/9/ auto_install=/mageia/distrib/9_auto_inst.cfg.pl root=/dev/ram3 rw
label 7-64f label 9-64f
KERNEL images/vmlinuz-mageia7_64 KERNEL images/vmlinuz-mageia9_64
APPEND initrd=images/mageia7_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/7/ auto_install=/mageia/distrib/7_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw APPEND initrd=images/mageia9_64.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/9/ auto_install=/mageia/distrib/9_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw
label 7-32f label 9-32f
KERNEL images/vmlinuz-mageia7 KERNEL images/vmlinuz-mageia9
APPEND initrd=images/mageia7.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/7/ auto_install=/mageia/distrib/7_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw APPEND initrd=images/mageia9.rdz ramdisk_size=128000 vga=788 automatic=method:http,interface:auto,network:dhcp,server:192.168.1.253,directory:/mageia/distrib/9/ auto_install=/mageia/distrib/9_auto_inst.cfg_fullauto.pl root=/dev/ram3 rw

View File

@ -1,34 +1,24 @@
Images disponibles: Images disponibles:
--------------------- ---------------------
Par défaut Mageia 6 64 bits ( option 6-64 ) Par défaut Mageia 8 64 bits ( option 8-64 )
6-64 : Mageia 6 64 bits 8-64 : Mageia 8 64 bits
6-32 : Mageia 6 32 bits 8-32 : Mageia 8 32 bits
6-64f : Mageia 6 64 bits full auto ( DANGER: supprime toutes les partitions ) 8-64f : Mageia 8 64 bits full auto ( DANGER: supprime toutes les partitions )
6-32f : Mageia 6 32 bits full auto ( DANGER: supprime toutes les partitions ) 8-32f : Mageia 8 32 bits full auto ( DANGER: supprime toutes les partitions )
Mise à niveau de Mageia 5 vers Mageia 6 Mise à niveau de Mageia 5 vers Mageia 8
6-64u : Mageia 6 64 bits upgrade from Mageia 5 64 bits 8-64u : Mageia 8 64 bits upgrade from Mageia 5 64 bits
6-32u : Mageia 6 32 bits upgrade from Mageia 5 64 bits 8-32u : Mageia 8 32 bits upgrade from Mageia 5 64 bits
7-64 : Mageia 7 64 bits 9-64 : Mageia 9 64 bits
7-32 : Mageia 7 32 bits 9-32 : Mageia 9 32 bits
7-64f : Mageia 7 64 bits full auto ( DANGER: supprime toutes les partitions ) 9-64f : Mageia 9 64 bits full auto ( DANGER: supprime toutes les partitions )
7-32f : Mageia 7 32 bits full auto ( DANGER: supprime toutes les partitions ) 9-32f : Mageia 9 32 bits full auto ( DANGER: supprime toutes les partitions )
Mise à niveau de Mageia 6 vers Mageia 7 Mise à niveau de Mageia 8 vers Mageia 9
7-64u : Mageia 7 64 bits upgrade from Mageia 6 64 bits 9-64u : Mageia 9 64 bits upgrade from Mageia 8 64 bits
7-32u : Mageia 7 32 bits upgrade from Mageia 6 64 bits 9-32u : Mageia 9 32 bits upgrade from Mageia 8 64 bits
CI-DESSOUS LA VERSION DE MAGEIA EN COURS DE DÉVELOPPEMENT
c64 : Mageia cauldron 64 bits
c32 : Mageia cauldron 32 bits
c64f : Mageia cauldron 64 bits full auto ( DANGER: supprime toutes les partitions )
c32f : Mageia cauldron 32 bits full auto ( DANGER: supprime toutes les partitions )
Mise à niveau de Mageia 7 vers Cauldron
c64u : Mageia cauldron 64 bits upgrade from Mageia 7 64 bits
c32u : Mageia cauldron 32 bits upgrade from Mageia 7 64 bits
OUTILS OUTILS
efface disk : effacement sécurisé deu disque avec dban efface disk : effacement sécurisé deu disque avec dban

View File

@ -1,21 +1,21 @@
Par défaut Mageia 6 64 bits ( option 6-64 ) Par défaut Mageia 9 64 bits ( option 9-64 )
6-64M : Mageia 6 64 bits original 8-64M : Mageia 8 64 bits original
6-32M : Mageia 6 32 bits original 8-32M : Mageia 8 32 bits original
6-64 : Mageia 6 64 bits Lalis 8-64 : Mageia 8 64 bits Lalis
6-32 : Mageia 6 32 bits Lalis 8-32 : Mageia 8 32 bits Lalis
6-64f : Mageia 6 64 bits full auto ( DANGER: supprime toutes les partitions ) 8-64f : Mageia 8 64 bits full auto ( DANGER: supprime toutes les partitions )
6-32f : Mageia 6 32 bits full auto ( DANGER: supprime toutes les partitions ) 8-32f : Mageia 8 32 bits full auto ( DANGER: supprime toutes les partitions )
6-64u : Mageia 6 64 bits upgrade from Mageia 5 64 bits 8-64u : Mageia 8 64 bits upgrade from Mageia 5 64 bits
6-32u : Mageia 6 32 bits upgrade from Mageia 5 64 bits 8-32u : Mageia 8 32 bits upgrade from Mageia 5 64 bits
7-64 : Mageia 7 64 bits Lalis 9-64 : Mageia 9 64 bits Lalis
7-32 : Mageia 7 32 bits Lalis 9-32 : Mageia 9 32 bits Lalis
7-64f : Mageia 7 64 bits full auto ( DANGER: supprime toutes les partitions ) 9-64f : Mageia 9 64 bits full auto ( DANGER: supprime toutes les partitions )
7-32f : Mageia 7 32 bits full auto ( DANGER: supprime toutes les partitions ) 9-32f : Mageia 9 32 bits full auto ( DANGER: supprime toutes les partitions )
7-64u : Mageia 7 64 bits upgrade from Mageia 5 64 bits 9-64u : Mageia 9 64 bits upgrade from Mageia 5 64 bits
7-32u : Mageia 7 32 bits upgrade from Mageia 5 64 bits 9-32u : Mageia 9 32 bits upgrade from Mageia 5 64 bits
efface disk : effacement sécurisé du disque avec dban efface disk : effacement sécurisé du disque avec dban
rescue : mode rescue de Mageia 6 rescue : mode rescue de Mageia 8
depannage : image Live de depannage depannage : image Live de depannage

View File

@ -1,5 +1,5 @@
#!/usr/bin/sh #!/usr/bin/sh
PRESENT=8 PRESENT=9
CAULDRON=$((PRESENT+1)) CAULDRON=$((PRESENT+1))
OLD=$((PRESENT-1)) OLD=$((PRESENT-1))
DEFUSER="root" DEFUSER="root"
@ -64,7 +64,7 @@ else
cd "$MIRRORPATH"/distrib/$PRESENT cd "$MIRRORPATH"/distrib/$PRESENT
cp "$MEDIAINFO_PATH"/"$PRESENT"_i586_media.cfg ./i586/media/media_info/media.cfg cp "$MEDIAINFO_PATH"/"$PRESENT"_i586_media.cfg ./i586/media/media_info/media.cfg
iferror "$?" "Copie de "$PRESENT"_i586_media.cfg vers ./i586/media/media_info/media.cfg" $LINENO iferror "$?" "Copie de "$PRESENT"_i586_media.cfg vers ./i586/media/media_info/media.cfg" $LINENO
cp "$MEDIAINFO_PATH"/"$PRESENT"_x86_64_media.cfg ./x86_64/media/media_info/media.cf cp "$MEDIAINFO_PATH"/"$PRESENT"_x86_64_media.cfg ./x86_64/media/media_info/media.cfg
iferror "$?" "Copie de "$PRESENT"_x86_64_media.cfg vers ./x86_64/media/media_info/media.cfg" $LINENO iferror "$?" "Copie de "$PRESENT"_x86_64_media.cfg vers ./x86_64/media/media_info/media.cfg" $LINENO
echo "copie de $TASKRPM/*mga$PRESENT* ==> ./i586/media/core/release/" echo "copie de $TASKRPM/*mga$PRESENT* ==> ./i586/media/core/release/"
cp "$TASKRPM/"*mga$PRESENT* ./i586/media/core/release/ cp "$TASKRPM/"*mga$PRESENT* ./i586/media/core/release/

111
mirror_mageia_hd Executable file → Normal file
View File

@ -1,86 +1,73 @@
#!/bin/sh #!/bin/sh
#mirror_mageia_hd #mirror_mageia_hd
version="6"
version_list="8 9" # liste les versions de Mageia à synchroniser.
dossier="" dossier=""
boot="" boot=""
param=" --delete-excluded --exclude SRPMS/ --exclude *_testing/ --exclude */debug/ --exclude aarch64/ --exclude armv5tl/ --exclude armv7hl/ " param=" --exclude SRPMS/ --exclude i586/ --exclude armv5tl/ --exclude armv7hl/ --exclude aarch64/ --exclude *_testing/ --exclude */debug/"
param_iso=""
for DIRECTORY in /run/media/$USER/* for DIRECTORY in /run/media/$USER/*
do do
echo "$DIRECTORY"
if [ -d "$DIRECTORY" ]; then if [ -d "$DIRECTORY" ]; then
if [ -e "$DIRECTORY/mageia/distrib" ]; then if [ -e "$DIRECTORY/mageia" ]; then
echo "$DIRECTORY/mageia/distrib trouvé" echo "$DIRECTORY/mageia trouvé"
dossier=$DIRECTORY/mageia/distrib dossier="$DIRECTORY/mageia"
elif [ -e "$DIRECTORY/extlinux" ]; then elif [ -e "$DIRECTORY/extlinux/extlinux.conf" ]; then
echo "$DIRECTORY/extlinux trouvé" echo "$DIRECTORY/extlinux/extlinux.conf trouvé"
boot="$DIRECTORY" boot="$DIRECTORY/"
fi fi
fi fi
done done
if [ -z $dossier ] || [ -z $boot ]; then if [ -z "$dossier" ] || [ -z "$boot" ]; then
for DIRECTORY in /mnt/tmp* for DIRECTORY in /mnt/*
do do
if [ -d "$DIRECTORY" ]; then if [ -d "$DIRECTORY" ]; then
if [ -e "$DIRECTORY/mageia/distrib" ]; then if [ -e "$DIRECTORY/mageia" ]; then
echo "$DIRECTORY/mageia/distrib trouvé" echo "$DIRECTORY/mageia trouvé"
dossier=$DIRECTORY/mageia/distrib dossier="$DIRECTORY/mageia"
elif [ -e "$DIRECTORY/grub/menu.lst" ]; then elif [ -e "$DIRECTORY/extlinux/extlinux.conf" ]; then
echo "$DIRECTORY/grub/menu.lst trouvé" echo "$DIRECTORY/extlinux/extlinux.conf trouvé"
boot="$DIRECTORY" boot="$DIRECTORY/"
fi fi
fi fi
done done
fi fi
echo "dossier => $dossier"
if [ -z $dossier ] || [ -z $boot ]; then echo "boot => $boot"
echo "Erreur dossiers non trouvés"
echo "BOOT=$boot"
echo "Dossier=$dossier"
exit 1
fi
if [ -d "/mirror/mageia/distrib/$version" ];then if [ -d "/mirror/mageia/distrib/$version" ];then
serveur='/mirror' serveur='/mirror'
else else
serveur="rsync://fr2.rpmfind.net/linux" # serveur="rsync://fr2.rpmfind.net/linux/mageia"
serveur="rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia"
fi fi
if [ -n $dossier ] && [ -n $boot ];then if [ -n "$dossier" ] && [ -n "$boot" ];then
for version in $version_list; do
# synchronisation du miroir echo "rsync -P -aHS --delete-after --delay-updates $param $serveur/distrib/$version/ $dossier/distrib/$version/"
echo "rsync -avP $param $serveur/mageia/distrib/$version/ $dossier/$version/" rsync -P -aHS --delete-after --delay-updates $param "$serveur/distrib/$version/" "$dossier/distrib/$version/"
rsync -aP $param $serveur/mageia/distrib/$version $dossier/ # copie des images isos
echo "rsync -P -aHS --delete-after --delay-updates $serveur/iso/$version $dossier/iso/"
# synchronisation des iso rsync -P -aHS --delete-after --delay-updates "$serveur/iso/$version" "$dossier/iso/"
rsync -aP --exclude "*GNOME*" --exclude "*rescue*" $serveur/mageia/iso/"$version".1 `dirname $dossier`/iso/
if [ -d $serveur/mageia.iso/"$vesion".1 ]; then # Copie des fichiers de boot CSM
param_iso=" --delete-excluded --exclude '*Live*' " cd "$dossier/distrib/$version"
fi #rsync -aP i586/isolinux/i386/vmlinuz "$boot"/isolinux/i386/vmlinuz_$version
rsync -aP $param_iso --exclude "*GNOME*" --exclude "*rescue*" $serveur/mageia/iso/$version `dirname $dossier`/iso/ rsync -aP x86_64/isolinux/x86_64/vmlinuz "$boot/isolinux/x86_64/vmlinuz_$version"
#rsync -aP i586/isolinux/i386/all.rdz "$boot"/isolinux/i386/all_$version".rdz"
# copie du kernel et de initrd dans partition de boot rsync -aP x86_64/isolinux/x86_64/all.rdz "$boot/isolinux/x86_64/all_"$version".rdz"
cd $dossier/$version # Copie des fichers de boot EFI
echo "rsync -aP i586/isolinux/i386/vmlinuz $boot/vmlinuz_"$version"_i586" tmp_dir=$(mktemp -d -t mirror_mageia_hd-XXXXXXXXXX)
rsync -aP i586/isolinux/i386/vmlinuz "$boot"/vmlinuz_"$version"_i586 pushd $tmp_dir
echo "rsync -aP x86_64/isolinux/x86_64/vmlinuz $boot/vmlinuz_"$version"_x86_64" rpm2cpio "$dossier/distrib/$version"/x86_64/media/core/release/drakiso-bootloader-files-*.rpm | cpio --extract --make-directories
rsync -aP x86_64/isolinux/x86_64/vmlinuz "$boot"/vmlinuz_"$version"_x86_64 rsync -aP ./usr/share/drakiso/bootloader/images/bootx64.efi "$boot"/EFI/BOOT/
rsync -aP i586/isolinux/i386/all.rdz "$boot"/all_"$version"_i586.rdz
rsync -aP x86_64/isolinux/x86_64/all.rdz "$boot"/all_"$version"_x86_64.rdz #rpm2cpio "$dossier/distrib/$version"/i586/media/core/release/drakiso-bootloader-files-1.17-1.mga8.i586.rpm | cpio --extract --make-directories
#rsync -aP ./usr/share/drakiso/bootloader/images/bootia32.efi "$boot"/EFI/BOOT/
popd
rm -Rf $tmp_dir/*
if [ -d "/mirror/mageia/distrib/cauldron" ];then rmdir $tmp_dir
serveur='/mirror' done
else else
serveur="rsync://fr2.rpmfind.net/linux" echo "il manque un dossier (boot ou miroir) voir plus haut"
fi
rsync -aP $param $serveur/mageia/distrib/cauldron/i586 $dossier/cauldron/
cd $dossier/cauldron
rsync -aP i586/isolinux/i386/vmlinuz $boot/vmlinuz_cauldron_i586
# rsync -aP x86_64/isolinux/x86_64/vmlinuz $boot/vmlinuz_cauldron_x86_64
rsync -aP i586/isolinux/i386/all.rdz $boot/all_cauldron_i586.rdz
# rsync -aP x86_64/isolinux/x86_64/all.rdz $boot/all_cauldron_x86_64.rdz
fi fi

View File

@ -1,15 +1,15 @@
#!/bin/bash #!/bin/bash
MIRROR="/mnt/lalis/mirror" MIRROR="/mirror/mageia"
ARCHLIST="SRPMS x86_64 i586 armv7hl aarch64" ARCHLIST="SRPMS x86_64 i586 armv7hl aarch64"
DEPOT="release updates" DEPOT="release updates"
cd "$MIRROR" cd "$MIRROR"
echo `pwd` echo `pwd`
for DIR in `ls -A $MIRROR/mageia/distrib` for DIR in `ls -A $MIRROR/distrib`
do do
echo "$MIRROR/mageia/distrib/$DIR" echo "$MIRROR/distrib/$DIR"
if [ -d "$MIRROR/mageia/distrib/$DIR" ]; then if [ -d "$MIRROR/distrib/$DIR" ]; then
for ARCH in $ARCHLIST;do for ARCH in $ARCHLIST;do
if [ "$ARCH" = "SRPMS" ]; then if [ "$ARCH" = "SRPMS" ]; then
MEDIA=""; MEDIA="";