|
|
- 수정된 파일
|
|
|
- m
|
|
|
- nexpring/nexpring/a_ini/Makefile
|
|
|
<br>
|
|
|
|
|
|
- 추가된 파일
|
|
|
- nexpring/nexpring/a_ini/files/ini_patch.sh
|
|
|
- nexpring/nexpring/a_ini/files/ini_patch_test.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
|
|
|
<br>
|
|
|
|
|
|
|
|
|
- 사용법
|
|
|
- 패치파일 생성 (빌드 전)
|
... | ... | @@ -28,6 +32,9 @@ |
|
|
- /etc/patch_log 에서 마지막 로그 확인 가능
|
|
|
- ini_patch.sh의 MAX_PATCH_LOG_BACKUP 값에 따라 (default=3) 백업 파일 숫자 설정
|
|
|
- 백업파일은 patch_log.1, patch_log.2 ... 순으로 백업 (숫자가 높을수록 오래된 로그)
|
|
|
<br>
|
|
|
|
|
|
|
|
|
- 단말의 동작
|
|
|
- 서비스 실행 시점
|
|
|
- after factory_reset
|
... | ... | @@ -44,7 +51,6 @@ |
|
|
- 실패한 패치는 해당 패치 폴더를 "/tmp/patch_work/fail/"에 저장
|
|
|
- 실패시 원본 패치 파일(/etc/patch_config/*.ini or .sh) 삭제 하지 않음.
|
|
|
- 완료시 /tmp/patch_work를 압축하여 "/etc/patch_archive/ini_patch.tar.gz" 에 저장함.
|
|
|
|
|
|
- 2회차 이상의 패치
|
|
|
- "/etc/patch_archive/ini_patch.tar.gz"을 먼저 /tmp/patch_work에 압축을 해지함
|
|
|
- 패치 파일명의 폴더가 "/tmp/patch_work/success/"에 있는 경우 해당 패치 무시 |
|
|
\ No newline at end of file |