From 36dc75a2c98ca03f7b47a9b8515d88449c15c9d7 Mon Sep 17 00:00:00 2001 From: Patrick Liu Date: Wed, 3 Mar 2021 11:13:55 +0800 Subject: update buildstamp paths for iot and pc --- units/info/jobs.pxu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/info/jobs.pxu b/units/info/jobs.pxu index ba6b376..2693598 100644 --- a/units/info/jobs.pxu +++ b/units/info/jobs.pxu @@ -350,10 +350,10 @@ estimated_duration: 0.1 _description: Attaches the buildstamp identifier for the OS _summary: Attaches the buildstamp identifier for the OS command: - if [ -s /var/lib/ubuntu_dist_channel ]; then - cat /var/lib/ubuntu_dist_channel - elif [ -s /etc/buildstamp ]; then + if [ -s /etc/buildstamp ]; then cat /etc/buildstamp + elif [ -s /.disk/info ]; then + cat /.disk/info elif [ -s /run/mnt/ubuntu-seed/.disk/info ]; then cat /run/mnt/ubuntu-seed/.disk/info elif [ -s /etc/media-info ]; then -- cgit v1.2.3