... | @@ -5,6 +5,9 @@ |
... | @@ -5,6 +5,9 @@ |
|
- nexpring/nexpring/a_ini/files/ini_patch.sh
|
|
- nexpring/nexpring/a_ini/files/ini_patch.sh
|
|
- nexpring/nexpring/a_ini/files/ini_patch_test.sh
|
|
- nexpring/nexpring/a_ini/files/ini_patch_test.sh
|
|
- tools/scripts/make_patch.sh
|
|
- tools/scripts/make_patch.sh
|
|
|
|
- nexpring/nex-rootfs/lib/systemd/system/ini_patch.service
|
|
|
|
- nexpring/nex-rootfs/lib/systemd/system/multi-user.target.wants/ini_patch.service
|
|
|
|
|
|
- 사용법
|
|
- 사용법
|
|
- 패치파일 생성 (빌드 전)
|
|
- 패치파일 생성 (빌드 전)
|
|
- ./m patch
|
|
- ./m patch
|
... | @@ -21,7 +24,13 @@ |
... | @@ -21,7 +24,13 @@ |
|
- m : 패치된 sysconfig.ini과 복사된 sysconfig.ini이 md5sum이 같은지 검사 (1이 기본값이며, 1일 때
|
|
- m : 패치된 sysconfig.ini과 복사된 sysconfig.ini이 md5sum이 같은지 검사 (1이 기본값이며, 1일 때
|
|
수행)
|
|
수행)
|
|
- "/ormapp/ini_patch.sh -t -i 1 -m 1" : 이와 같이 테스트 해보실 수 있습니다.
|
|
- "/ormapp/ini_patch.sh -t -i 1 -m 1" : 이와 같이 테스트 해보실 수 있습니다.
|
|
|
|
- 로그 확인
|
|
|
|
- /etc/patch_log 에서 마지막 로그 확인 가능
|
|
|
|
- ini_patch.sh의 MAX_PATCH_LOG_BACKUP 값에 따라 (default=3) 백업 파일 숫자 설정
|
|
|
|
- 백업파일은 patch_log.1, patch_log.2 ... 순으로 백업 (숫자가 높을수록 오래된 로그)
|
|
- 단말의 동작
|
|
- 단말의 동작
|
|
|
|
- 서비스 실행 시점
|
|
|
|
- after factory_reset
|
|
- 아래의 형태의 파일이 있는 경우 패치 동작
|
|
- 아래의 형태의 파일이 있는 경우 패치 동작
|
|
- /etc/patch_config/ini_merge_2501011212.ini
|
|
- /etc/patch_config/ini_merge_2501011212.ini
|
|
- /etc/patch_config/ini_update_2501011212.ini
|
|
- /etc/patch_config/ini_update_2501011212.ini
|
... | | ... | |