Hi,
I use LSDK 20.04 update290520 to build code.
When I set the FETCH_PREBUILT_LSDK_RFS to n, it will occur the error as below.
The user `syslog' is already a member of `adm'.
dpkg: error processing package rsyslog (--configure):
installed rsyslog package post-installation script subprocess returned error exit status 1
...
...
Errors were encountered while processing:
rsyslog
E: Sub-process /usr/bin/dpkg returned an error code (1)
The attached log is my build log.
please help me to clarify it.
Thanks
Solved! Go to Solution.
The following change can resolve the problem when upgrading the newer ubuntu-18.04:
+++ b/tools/flex-mkdistrorfs
@@ -203,11 +203,12 @@ do_distrorfs_second_stage() {
apt -y install language-pack-en-base
fi
fi
- apt -y upgrade
test -f /proc/uptime || mount -t proc proc /proc
test -f /dev/pts/ptmx || mount -t devpts devpts /dev/pts
+ apt -y upgrade
Then rebuild it as below:
$ flex-builder -i clean-rfs
$ flex-builder -i mkrfs
The following change can resolve the problem when upgrading the newer ubuntu-18.04:
+++ b/tools/flex-mkdistrorfs
@@ -203,11 +203,12 @@ do_distrorfs_second_stage() {
apt -y install language-pack-en-base
fi
fi
- apt -y upgrade
test -f /proc/uptime || mount -t proc proc /proc
test -f /dev/pts/ptmx || mount -t devpts devpts /dev/pts
+ apt -y upgrade
Then rebuild it as below:
$ flex-builder -i clean-rfs
$ flex-builder -i mkrfs