for the image build process you most likely want to add a script snippet under live-build/ubuntu-cpc/hooks/ in the livecd-rootfs package/tree ...
for the image build process you most likely want to add a script snippet under live-build/ ubuntu- cpc/hooks/ in the livecd-rootfs package/tree ...