diff options
author | Patrick Liu <patrick.liu@canonical.com> | 2021-03-03 11:13:55 +0800 |
---|---|---|
committer | Patrick Liu <patrick.liu@canonical.com> | 2021-03-08 13:29:11 +0800 |
commit | 36dc75a2c98ca03f7b47a9b8515d88449c15c9d7 (patch) | |
tree | ec810b11cd910a43f771625b9028e6694f2ba94f /units/info | |
parent | 27bfbe29813df5b9d13b4d21c0a238256e21f4ad (diff) |
update buildstamp paths for iot and pc
Diffstat (limited to 'units/info')
-rw-r--r-- | units/info/jobs.pxu | 6 |
1 files changed, 3 insertions, 3 deletions
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 |