25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
819B

  1. ---
  2. - name: copy linux kernel
  3. copy: src=/usr/lib/debian-installer/images/8/amd64/text/debian-installer/amd64/linux dest={{installer_directory}}/linux remote_src=true
  4. - name: copy initrd for customization
  5. shell: gunzip -c /usr/lib/debian-installer/images/8/amd64/text/debian-installer/amd64/initrd.gz > {{installer_directory}}/initrd
  6. - name: insert files into initrd
  7. shell: echo {{item}} | cpio --create --format=newc --append --file=initrd
  8. args:
  9. chdir: "{{installer_directory}}/"
  10. with_items:
  11. - preseed.cfg
  12. - run.sh
  13. - name: compress custom initrd
  14. command: gzip -f {{installer_directory}}/initrd
  15. - name: merge initrd.gz and firmware.cpio.gz
  16. shell: cat /usr/lib/debian-installer/images/8/amd64/text/debian-installer/firmware.cpio.gz >> {{installer_directory}}/initrd.gz
  17. when: nonfree_firmware