Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pardus] the offical repo is changed for pardus 23.0 #496

Merged
merged 6 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions autoinstall/Pardus/preseed.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,15 @@ d-i preseed/late_command string \
then\
echo "Add offical repo ..." > /target/dev/ttyS0;\
codename=$(cat /target/etc/os-release | grep PARDUS_CODENAME | cut -d= -f2);\
echo "deb http://depo.pardus.org.tr/pardus $codename main contrib non-free" >> /target/etc/apt/sources.list;\
echo "deb http://depo.pardus.org.tr/guvenlik $codename main contrib non-free" >> /target/etc/apt/sources.list;\
major_version=$(cat /target/etc/os-release | grep VERSION_ID | cut -d= -f2 | tr -d '"' | cut -d. -f1);\
if [ $major_version -ge 23 ]; then\
echo "deb http://depo.pardus.org.tr/pardus $codename main contrib non-free non-free-firmware" >> /target/etc/apt/sources.list;\
echo "deb http://depo.pardus.org.tr/pardus ${codename}-deb main contrib non-free non-free-firmware" >> /target/etc/apt/sources.list;\
echo "deb http://depo.pardus.org.tr/guvenlik ${codename}-deb main contrib non-free non-free-firmware" >> /target/etc/apt/sources.list;\
else\
echo "deb http://depo.pardus.org.tr/pardus $codename main contrib non-free" >> /target/etc/apt/sources.list;\
echo "deb http://depo.pardus.org.tr/guvenlik $codename main contrib non-free" >> /target/etc/apt/sources.list;\
fi; \
cat /target/etc/apt/sources.list > /target/dev/ttyS0;\
fi; \
echo "Update repository ..." > /target/dev/ttyS0; \
Expand Down
6 changes: 5 additions & 1 deletion linux/vhba_hot_add_remove/wait_device_list_changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
guest_os_ansible_distribution_major_ver | int >= 22)
- not (guest_os_ansible_distribution == "Debian" and
guest_os_ansible_distribution_major_ver | int >= 12)
- not (guest_os_ansible_distribution == "Pardus GNU/Linux" and
guest_os_ansible_distribution_major_ver | int >= 23)
block:
- name: "Rescan all scsi devices"
ansible.builtin.command: "/usr/bin/rescan-scsi-bus.sh -a -r"
Expand All @@ -57,7 +59,9 @@
(guest_os_ansible_distribution == "Ubuntu" and
guest_os_ansible_distribution_major_ver | int >= 22) or
(guest_os_ansible_distribution == "Debian" and
guest_os_ansible_distribution_major_ver | int >= 12))
guest_os_ansible_distribution_major_ver | int >= 12) or
(guest_os_ansible_distribution == "Pardus GNU/Linux" and
guest_os_ansible_distribution_major_ver | int >= 23))
block:
- name: "Rescan all hard disks"
ansible.builtin.shell: |
Expand Down