<commit_before>all:	initrd.img.gz mobylinux-efi.iso

ETCFILES=etc/issue etc/motd etc/network/interfaces
ETCFILES+=etc/securetty

initrd.img: Dockerfile mkinitrd.sh repositories $(ETCFILES)
	rm -f initrd.img
	$(MAKE) -C packages
	$(MAKE) -C kernel
	cp inittab.x86_64 etc/inittab
	docker-compose build moby
	docker-compose run --rm -T moby /bin/mkinitrd.sh

initrd.img.gz: initrd.img
	cat initrd.img | gzip -9 > initrd.img.gz

mobylinux-efi.iso: initrd.img.gz Dockerfile.efi
	docker-compose build efi
	docker-compose run --rm -T efi \
		cp /tmp/efi/mobylinux.efi /tmp/efi/mobylinux-efi.iso /mnt

mobylinux-bios.iso: initrd.img Dockerfile.bios isolinux.cfg
	docker-compose build bios
	docker-compose run --rm -T bios \
		cp /tmp/mobylinux-bios.iso /mnt

arm:	initrd-arm.img

Dockerfile.armhf: Dockerfile
	cat Dockerfile | \
	  sed '/hv_/d' | \
	  sed '/hvtools/d' | \
	  sed 's/syslinux//' | \
	  grep -v 'rc-update add binfmt_misc sysinit' > $@
<commit_msg>fix arm FROM<commit_after>all:	initrd.img.gz mobylinux-efi.iso

ETCFILES=etc/issue etc/motd etc/network/interfaces
ETCFILES+=etc/securetty

initrd.img: Dockerfile mkinitrd.sh repositories $(ETCFILES)
	rm -f initrd.img
	$(MAKE) -C packages
	$(MAKE) -C kernel
	cp inittab.x86_64 etc/inittab
	docker-compose build moby
	docker-compose run --rm -T moby /bin/mkinitrd.sh

initrd.img.gz: initrd.img
	cat initrd.img | gzip -9 > initrd.img.gz

mobylinux-efi.iso: initrd.img.gz Dockerfile.efi
	docker-compose build efi
	docker-compose run --rm -T efi \
		cp /tmp/efi/mobylinux.efi /tmp/efi/mobylinux-efi.iso /mnt

mobylinux-bios.iso: initrd.img Dockerfile.bios isolinux.cfg
	docker-compose build bios
	docker-compose run --rm -T bios \
		cp /tmp/mobylinux-bios.iso /mnt

arm:	initrd-arm.img

Dockerfile.armhf: Dockerfile
	cat Dockerfile | \
	  sed 's@FROM alpine@FROM justincormack/armhf-alpine@' 
	  sed '/hv_/d' | \
	  sed '/hvtools/d' | \
	  sed 's/syslinux//' | \
	  grep -v 'rc-update add binfmt_misc sysinit' > $@

{'fraction_non_alphanumeric': 0.12970498474059003, 'fraction_numerical': 0.00508646998982706, 'mean_word_length': 3.3041575492341355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4176691', 'n_tokens_mistral': 896, 'n_tokens_neox': 835, 'n_words': 182}