ABLESTACK ISO 설치 시 aspm 우선 사용 보완#33
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
ABLESTACK Host에서 ISO의
install-linux.sh를 실행할 때dnf/yum직접 사용이 차단되어 설치가 중단되는 문제를 보완합니다.기존 스크립트는
aspm/aspkg대응 코드를 가지고 있었지만, 명령 존재 여부 기준으로dnf와rpm을 먼저 선택했습니다. ABLESTACK 환경에서는dnf/rpm바이너리가 존재하더라도 직접 실행이 차단될 수 있으므로, ABLESTACK Host에서는aspm/aspkg를 우선 사용하도록 변경했습니다.주요 변경
install-linux.sh의 RPM package manager 선택 로직을 보완했습니다.aspm존재 시aspm우선 사용dnf우선 사용uninstall-linux.sh에도 동일 정책을 적용했습니다.aspkg존재 시aspkg우선 사용rpm우선 사용원인
기존 로직은 다음 순서로 명령을 선택했습니다.
따라서 ABLESTACK Host에서
dnf가 존재하지만 실행 시dnf, yum usage is blocked를 출력하는 경우에도aspm으로 넘어가지 못했습니다.검증
로컬 검증:
origin 브랜치 기준 원격 테스트 빌드:
Build and Releaseworkflow를publish_release=false로 실행하여 RPM/ISO 생성과install-linux.sh,uninstall-linux.shsanity check가 성공하는 것을 확인했습니다.영향 범위
aspm/aspkg우선 선택으로 차단된dnf/rpm호출을 회피합니다.