Удален репозиторий CCM из основных, ревизия переноса настроек

develop 412
parent e95ef27886
commit d9ab95e87a

@ -3,8 +3,8 @@ os_linux_name = 'Calculate Container Manager'
os_linux_shortname = CCM
[update]
cl_update_rep_name = gentoo,calculate,distros,container
cl_update_rep_url = https://git.calculate-linux.org/calculate/gentoo-overlay,https://git.calculate-linux.org/calculate/calculate-overlay,https://git.calculate-linux.org/calculate/distros-overlay,https://git.calculate-linux.org/calculate/container-overlay
cl_update_rep_name = gentoo,calculate,distros
cl_update_rep_url = https://git.calculate-linux.org/calculate/gentoo-overlay,https://git.calculate-linux.org/calculate/calculate-overlay,https://git.calculate-linux.org/calculate/distros-overlay
cl_update_rep_list =
GitHub: https://github.com/calculatelinux/gentoo,https://github.com/calculatelinux/calculate,https://github.com/calculatelinux/distros,https://github.com/calculatelinux/container
Calculate: https://git.calculate-linux.org/calculate/gentoo-overlay,https://git.calculate-linux.org/calculate/calculate-overlay,https://git.calculate-linux.org/calculate/distros-overlay,https://git.calculate-linux.org/calculate/container-overlay
GitHub: https://github.com/calculatelinux/gentoo,https://github.com/calculatelinux/calculate,https://github.com/calculatelinux/distros
Calculate: https://git.calculate-linux.org/calculate/gentoo-overlay,https://git.calculate-linux.org/calculate/calculate-overlay,https://git.calculate-linux.org/calculate/distros-overlay

@ -0,0 +1,4 @@
# Calculate format=samba name=ini.env ini(overlay-distros.revision)==
[overlay-distros]
revision = 20230214

@ -1 +0,0 @@
# Calculate append=skip ini(overlay-distros.revision)<20160101

@ -1,12 +0,0 @@
# Calculate path=/var/lib/calculate name=ini.env format=samba ini(overlay-distros.revision)<#-cut()-#
[overlay-distros]
revision = #-cut()-#
world = #-ini(update.world)-#
[update]
!world =
[update-distros]
!world =
!revision =

@ -1,16 +0,0 @@
# Calculate exec=/bin/bash ini(overlay-distros.revision)<#-cut()-#
#-ini(overlay-distros.revision,#-cut()-#)-#
if [ ! -f /etc/portage/make.profile ]; then
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CLSM/amd64 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLDM/amd64 /etc/portage/make.profile
fi
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CLSM/x86 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLDM/x86 /etc/portage/make.profile
fi
fi

@ -1,16 +0,0 @@
# Calculate exec=/bin/bash ini(overlay-distros.revision)<#-cut()-#
#-ini(overlay-distros.revision,#-cut()-#)-#
if [ ! -f /etc/portage/make.profile ]; then
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CLSL/amd64 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLDL/amd64 /etc/portage/make.profile
fi
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CLSL/x86 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLDL/x86 /etc/portage/make.profile
fi
fi

@ -1,16 +0,0 @@
# Calculate exec=/bin/bash ini(overlay-distros.revision)<#-cut()-#
#-ini(overlay-distros.revision,#-cut()-#)-#
if [ ! -f /etc/portage/make.profile ]; then
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CMC/amd64 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLS/amd64 /etc/portage/make.profile
fi
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CMC/x86 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLS/x86 /etc/portage/make.profile
fi
fi

@ -1 +0,0 @@
# Calculate append=skip ini(overlay-distros.revision)<20180101

@ -0,0 +1 @@
# Calculate append=skip ini(overlay-distros.revision)<20230101

@ -0,0 +1,25 @@
# Calculate exec=/bin/bash ini(overlay-distros.revision)<#-cut(0)-#
#-ini(overlay-distros.revision,#-cut(0)-#)-#
if -q grep '\[container\]' /etc/portage/repos.conf/zz-calculate.conf && \
[[ ! -e /etc/portage/repos.conf/cl-lxc.conf ]]
then
while IFS= read -r line; do
if [[ $line == '[container]' ]]; then
new=1
elif [[ ${line::1} == '[' ]]; then
new=
fi
if [[ $new == 1 ]]; then
echo $line >> /etc/portage/repos.conf/cl-lxc.conf
else
echo $line >> /etc/portage/repos.conf/zz-calculate-new.conf
fi
mv /etc/portage/repos.conf/{zz-calculate-new.conf,zz-calculate.conf}
done <<< $(cat /etc/portage/repos.conf/zz-calculate.conf)
fi
exit 0
Loading…
Cancel
Save