From 8a96f6d015870c840aea98c348d732b5a55ff23e Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Thu, 7 Sep 2023 13:05:53 +0200 Subject: [PATCH] update --- 9_auto_inst.cfg_fullauto.pl | 4 ++-- cp-task-lalis.sh | 2 +- mkmirrortree | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/9_auto_inst.cfg_fullauto.pl b/9_auto_inst.cfg_fullauto.pl index 1f52d41..46a2297 100755 --- a/9_auto_inst.cfg_fullauto.pl +++ b/9_auto_inst.cfg_fullauto.pl @@ -536,14 +536,14 @@ $o = { }, 'users' => [ { - 'gid' => '500', + 'gid' => '1000', 'groups' => [], 'icon' => 'default', 'name' => 'lalis', 'password' => 'lalis', 'realname' => undef, 'shell' => '/bin/bash', - 'uid' => '500' + 'uid' => '1000' } ] }; diff --git a/cp-task-lalis.sh b/cp-task-lalis.sh index 24a0c58..d0b901e 100755 --- a/cp-task-lalis.sh +++ b/cp-task-lalis.sh @@ -2,7 +2,7 @@ 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/ if [ $? -ne 0 ]; then diff --git a/mkmirrortree b/mkmirrortree index bbe77b5..a817c43 100755 --- a/mkmirrortree +++ b/mkmirrortree @@ -1,15 +1,15 @@ #!/bin/bash -MIRROR="/mnt/lalis/mirror" +MIRROR="/mirror/mageia" ARCHLIST="SRPMS x86_64 i586 armv7hl aarch64" DEPOT="release updates" cd "$MIRROR" echo `pwd` -for DIR in `ls -A $MIRROR/mageia/distrib` +for DIR in `ls -A $MIRROR/distrib` do - echo "$MIRROR/mageia/distrib/$DIR" - if [ -d "$MIRROR/mageia/distrib/$DIR" ]; then + echo "$MIRROR/distrib/$DIR" + if [ -d "$MIRROR/distrib/$DIR" ]; then for ARCH in $ARCHLIST;do if [ "$ARCH" = "SRPMS" ]; then MEDIA="";