Skip to content

[AVS-lite] Alpine start order and config files fixed - #47

Merged
sonikajindal merged 1 commit into
sonic-net:masterfrom
sreeiyer-1:misc_2
Sep 8, 2026
Merged

[AVS-lite] Alpine start order and config files fixed#47
sonikajindal merged 1 commit into
sonic-net:masterfrom
sreeiyer-1:misc_2

Conversation

@sreeiyer-1

Copy link
Copy Markdown
Contributor

Changes :

  1. Stopped auto start for alpine and pkt-handler
  2. Moved pkt-handler startup to start.sh
  3. For alpinevs-lite alone, moved lucius logs from /var/log to a new directory /var/log/lucius
  4. Added platform.json to alpinevs-lite
  5. In sonic-alpine, enabled copy for platform.json and hwsku.json to the device directory

Test logs

root@docker-alpine-dut:/usr/share/sonic/device/x86_64-kvm_x86_64-r0/alpinevs# 
root@docker-alpine-dut:/usr/share/sonic/device/x86_64-kvm_x86_64-r0/alpinevs# ls -ltr
total 16
-rw-rw-r-- 1 root root   34 Sep  1 14:46 sai.profile
-rw-rw-r-- 1 root root 2721 Sep  1 14:46 hwsku.json
-rw-rw-r-- 1 root root 5280 Sep  4 21:13 platform.json
root@docker-alpine-dut:/usr/share/sonic/device/x86_64-kvm_x86_64-r0/alpinevs# 
root@sonic:/usr/share/sonic/device/x86_64-kvm_x86_64-r0/alpine_vs# ls -tlr
total 10
-rw-r--r-- 1 root root   34 Sep  1 14:46 sai.profile
-rw-r--r-- 1 root root  365 Sep  1 14:46 pmon_daemon_control.json
-rw-r--r-- 1 root root 5280 Sep  1 14:46 platform.json
-rw-r--r-- 1 root root 2721 Sep  1 14:46 hwsku.json
root@docker-alpine-dut:/var/log/lucius# ls -l
lrwxrwxrwx 1 root root      58 Sep  5 06:04 lucius.ERROR -> lucius.docker-alpine-dut.root.log.ERROR.20260905-060413.71
lrwxrwxrwx 1 root root      57 Sep  5 06:04 lucius.INFO -> lucius.docker-alpine-dut.root.log.INFO.20260905-060411.71
lrwxrwxrwx 1 root root      60 Sep  5 06:04 lucius.WARNING -> lucius.docker-alpine-dut.root.log.WARNING.20260905-060411.71
-rw-r--r-- 1 root root   72558 Sep  5 06:04 lucius.docker-alpine-dut.root.log.ERROR.20260905-060413.71
-rw-r--r-- 1 root root 1962878 Sep  5 06:04 lucius.docker-alpine-dut.root.log.INFO.20260905-060411.71
-rw-r--r-- 1 root root  860037 Sep  5 06:04 lucius.docker-alpine-dut.root.log.WARNING.20260905-060411.71
root@docker-alpine-dut:/var/log/lucius# 

Signed-off-by: Sree Iyer <sbiyer@google.com>
@sreeiyer-1
sreeiyer-1 marked this pull request as ready for review September 5, 2026 07:21
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@sonikajindal
sonikajindal merged commit ed558c8 into sonic-net:master Sep 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants