[Compass-ci] [PATCH compass-ci] /container/dracut-initrd/bin: refactor the code